Commit Graph
258 Commits
Author SHA1 Message Date
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Tzanio Kolev 935d3f6df0 Merge pull request #2737 from mfem/shadow-linalg-dev
Fixing shadow variables in linalg classes [shadow-linalg-dev]
2022-02-24 08:50:38 -08:00
Stowell, Mark L 53e4896385 Merge remote-tracking branch 'origin/master' into shadow-linalg-dev 2022-02-18 09:16:27 -08:00
Will Pazner 14b48da4d2 Merge remote-tracking branch 'origin/master' into shadow-out-dev 2022-02-18 08:20:52 -08:00
Stowell, Mark L e5558895dc Suggestions made by @YohannDudouit 2022-02-17 16:02:57 -08:00
Stowell, Mark L 0ee82397de Following suggestions from @pazner 2022-02-17 15:02:18 -08:00
Will Pazner b8a3e423fd Update condition in SparseMatrix::MultTranspose to match EnsureMultTranspose 2022-02-10 15:09:33 -08:00
Will Pazner 5bd76ca866 Add SparseMatrix::EnsureMultTranspose 2022-02-10 11:19:32 -08:00
Veselin Dobrev 9f7ab4e642 Merge branch 'master' into hipsparse
Resolved conflicts:
   CHANGELOG
   CMakeLists.txt
   config/cmake/modules/MfemCmakeUtilities.cmake

Additional updated files:
   config/defaults.mk
2022-02-09 11:53:54 -08:00
Veselin Dobrev 564d7aa1ca In sparsemat.cpp, add MFEM_ prefix to the CUDA-or-HIP macros. 2022-02-05 15:47:57 -08:00
Tom Stitt e33c78fda1 fix potentially missed cusparse/hipsparse cleanup - thanks Veselin 2022-01-27 16:41:36 -08:00
Tom Stitt baffb28a4b move substitution macros to sparsemat.cpp
define MFEM_USE_CUDA_OR_HIP in cuda.hpp and hip.hpp

readd and deprecate CleanCUSparse and UseCUSparse
2022-01-27 09:40:47 -08:00
Tom Stitt aa5b1101b4 doxygen ignore macro-assisted typename 2022-01-25 09:20:20 -08:00
Tom Stitt 3b9000c617 add hipsparse support 2022-01-24 09:54:52 -08:00
Arturo Vargas 73916e5140 bugfix for sparse mult transpose 2022-01-20 15:31:45 -08:00
Stowell, Mark L 63381b366a Renaming ostream variables from out to os 2022-01-18 15:06:46 -08:00
Stowell, Mark L 61215468f3 Fixing shadow variables in linalg classes 2021-12-23 16:25:02 -08:00
Stowell, Mark L f7c9bdab17 Renaming "out" and "err" local variables to avoid globals 2021-12-22 15:19:20 -08:00
Veselin Dobrev a58567695e Fix an error when building with HIP which may also be causing
problems with CUDA.

In OperatorJacobiSmoother, use absolute value of diagonal, if
requested, during setup instead of during action.

A few tweaks in SparseMatrix::Jacobi and SparseMatrix::DiagScale.

For the GitLab CI on Lassen, disable ATS.
2021-12-14 22:37:53 -08:00
Vladimir Z Tomov 2d10dd0abe Options to use abs values of the diagonal in OperatorJacobi, DSmoother. 2021-11-26 15:49:40 -08:00
Tzanio 0cc104331c Merge branch 'master' into yohann/mem/min-default-constr 2021-11-10 12:52:15 -08:00
Will Pazner 233bee6188 Add comment to PrintMatlab 2021-09-28 14:17:59 -07:00
Will Pazner 9e67380171 Improvements to PrintMatlab
Make Operator::PrintMatlab virtual, output zero entry in last row and column to
preserve matrix size.
2021-09-28 12:01:04 -07:00
Tzanio Kolev 2ed61b9888 Merge pull request #2446 from mfem/jacobf/2021-08-02/feature/jacobi23-on-device
Feature: Jacobi2/3 device
2021-09-09 20:29:29 -07:00
Jacob Faibussowitsch fa845400b1 style 2021-08-20 15:20:54 -05:00
Jacob Faibussowitsch 12b168018f switch printout based on template used 2021-08-20 15:20:33 -05:00
Jacob Faibussowitsch 31c2100b6d make style 2021-08-02 12:06:44 -04:00
Jacob Faibussowitsch afa0c9707f port jacobi2 and jacobi3 to device 2021-08-02 09:05:33 -07:00
Jacob Faibussowitsch 86747dd076 check for cusparse version rather than cuda version when selecting cusparse algorithm 2021-08-02 06:37:55 -07:00
Yohann Dudouit 3d399d8eb3 Remove unnecessary Reset. 2021-06-25 11:16:09 -07:00
Tzanio Kolev b0d560a902 Merge pull request #2200 from adam-sim-dev/fix-cusparseSpMV
Fix cusparseSpMV warnings for CUDA-11.2
2021-06-10 16:21:56 -07:00
Tzanio 914c334a8b Simplified pre-processor check for CUDA_VERSION 2021-06-08 17:26:49 -07:00
Tzanio KolevandYohann 008d6c1bd8 Update linalg/sparsemat.cpp
Co-authored-by: Yohann <yohann.dudouit@gmail.com>
2021-06-04 13:18:32 -07:00
Tzanio KolevandYohann c6541183d6 Update linalg/sparsemat.cpp
Co-authored-by: Yohann <yohann.dudouit@gmail.com>
2021-06-04 13:18:25 -07:00
Veselin Dobrev 009b0d8f6c Fix an error triggered when running the tests
tmop_pa_tests_{debug,cuda} with MFEM_DEBUG enabled.
2021-05-19 21:38:43 -07:00
camierjs ec69943718 Add a Finalized test in SparseMatrix::AddSubMatrix before HostReadIJ/HostReadWriteData 2021-05-19 18:51:19 -07:00
camierjs 1149162a2a Remove scale from xp[i] = sc * bp[i] / Ap[j]; 2021-05-19 18:47:17 -07:00
camierjs 50aa59111d Move the SparseMatrix::operator= HostReadWrite I&J into SparseMatrix::AddSubMatrix 2021-05-19 18:41:46 -07:00
camierjs af67af1306 Merge master in tmopt 2021-05-18 17:39:36 -07:00
Aaron Fisher e758c37691 Removed nearly all leading underscores for variable names. Every once in a while one of these will confilct with standard libraries in an oddball compiler and it's best to just avoid this problem alltogether. 2021-05-10 16:06:51 -07:00
Adam 7dc3ff19f7 Fix cusparseSpMV warnings for CUDA-11.2 2021-04-26 10:31:24 +08:00
camierjs aa8fa8f1ef Merge master in tmopt 2021-04-20 07:50:09 -07:00
Tzanio Kolev 4eb117fae3 Merge pull request #1963 from mfem/stefanozampini/add-petsc-cuda-support
Stefanozampini/add petsc cuda support
2021-04-19 12:28:56 -07:00
camierjs e2bce15d44 Merge master in tmopt 2021-04-12 09:30:18 -07:00
Tzanio Kolev 72f7f26e08 Merge pull request #2087 from mfem/wcdawn/skip_all_zeros
Add option to skip all zeros in SparseMatrix
2021-04-10 16:06:30 -07:00
Tzanio 87f75a213d Merge branch 'master' into stefanozampini/add-petsc-cuda-support 2021-04-08 16:12:29 -07:00
William Dawn b7840f328d sparse matrix zeros formatting/style 2021-04-06 17:22:01 -06:00
William Dawn 119331f42a making default behavior to preserve symmetric zeros in all routines 2021-04-06 16:17:40 -06:00
camierjs 2b2919b806 Merge master in tmopt 2021-03-28 12:51:39 -07:00
William Dawn f41eddeaad clarify comment for skipping zeros 2021-03-22 11:09:12 -06:00