Commit Graph
24 Commits
Author SHA1 Message Date
camierjs 3803c3305e - Remove unnecessary general/forall.hpp include in miniapps and tests
- Fix cast warnings in mesh (nc)nurbs files
2025-12-04 16:49:09 -08:00
Andrew Ho 8fbfdb19fe added general GPU and CUDA/HIP-specific unit tests
added gpu, raja-gpu, etc. for generic GPU device configuration
2025-03-24 13:23:43 -07:00
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
Veselin Dobrev 1f89281b12 Replace calls to mfem::forall_switch(HypreUsingGPU(), ...) with calls
to a new function, mfem::hypre_forall(...) that matches the hypre
execution (and memory location) policy. This way, if MFEM uses CPU and
hypre uses GPU, mfem::hypre_forall() will run on GPU, as expected, and
not on CPU as does mfem::forall_switch(HypreUsingGPU(), ...).
2024-04-30 15:54:45 -07:00
Sebastian Grimberg 1fbeee2270 Fix unit tests errors when running on CPU with GPU builds 2024-04-19 15:49:12 -07:00
Veselin Dobrev c0e6dc573b Merge branch 'master' into hypre-sync-fix 2024-03-26 16:50:29 -07:00
Veselin Dobrev 4e80106811 Add a set of tests that illustrate an issue with some HypreParMatrix
constructors that wrap external data (SparseMatrix or Table) and
reorder it to make the diagonal entry first in each row.

The issue only appears when using HYPRE + CUDA/ROCM build.

This commit can be used to see the issue by running either of
the unit tests, 'punit_tests' or 'pcunit_tests'.

The issue will be resolved in the next commit to this branch.
2024-03-25 22:51:55 -07:00
Veselin Dobrev a974d724ef Instantiate Memory<T>::PrintFlags() and
Memory<real_t>::CompareHostAndDevice() for T = real_t
instead of T = double.

Extend Vector and DenseMatrix constructors from fixed size
arrays of type real_t to any type T -- this was one simple way
to get the tests to build with nvcc with single precision.

Fix the building of tests/unit/linalg/test_matrix_hypre.cpp with
single precision when using hypre built with GPU support.

Fix a warning from nvcc in miniapps/tools/tmop-check-metric.cpp.
2024-03-22 18:12:49 -07:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Will Pazner b8b0645195 Use CAPTURE and INFO for unit test output 2022-06-01 16:34:20 -07:00
Will Pazner a1c905b6ee Remove unit test output 2022-05-19 14:54:21 -07:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Veselin Dobrev 64b10ab759 Replaced the current HIP CMake support with one based on the CMake
support provided by the ROCm installation.

Added a number of smaller fixes and tweaks related to HYPRE + HIP
support and the CMake build system.

Added support out-of-source GNU make builds in miniapps/shifted.

In the Gitlab CI for Lassen, added a job that tests a build where
both MFEM and HYPRE are built with CUDA.
2022-02-04 15:37:28 -08:00
Arturo Vargas 4a6a421ea9 macro styling changes 2022-01-27 11:46:27 -08:00
Arturo Vargas 3dbaa74933 additional fixes for examples/mini-apps 2022-01-04 13:54:33 -08:00
Veselin Dobrev d664901731 More bugfixes and tweaks for hypre+cuda support. 2021-07-22 18:05:10 -07:00
Will Pazner 39e9406b99 Change deprecated mesh constructors in unit tests and miniapps 2021-02-17 14:32:06 -08:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Will Pazner 6d9d0aa07d Change tolerances in new unit tests 2020-08-16 14:03:33 -07:00
psocratis dba8b05843 cleanup 2020-07-15 11:18:29 -07:00
psocratis 5ef9a11e9f unit test for rectangular HyprePar and Sparse Matrices 2020-07-14 18:25:10 -07:00
psocratis e3a9948ab6 Added unit test for HypreParMatrix::AbsMultTranspose 2020-07-14 16:43:43 -07:00
psocratis 6fc3b74033 Added unit tests for HypreParMatrix::AbsMult and SparseMatrix::AbsMult 2020-07-14 15:34:59 -07:00