John Camier
4ac41a6427
Merge branch 'master' into debug-mem-silent
2025-09-21 10:27:05 -07:00
Victor DeCaria
a126203ccd
implement suggested change
2025-08-21 15:08:57 -06:00
victor-decaria-nnl
6656a7ef72
Merge branch 'master' into debug-mem-silent
2025-08-20 15:50:34 -04:00
Veselin Dobrev
ad993a8b27
In MemoryManager::Insert, when re-registering a pointer, update the check
...
for the same attributes to allow another valid case that was previously
reported (in debug mode) as an error.
2025-08-15 14:01:48 -07:00
Tom Stitt
ce434a9c82
HipMemcpyDtoDAsync -> HipMemcpyDtoD since hipMemcpy for d2d is async wip to the host as of 5.6.1
2025-07-03 09:39:58 -07:00
John Camier
8804df317d
Merge branch 'master' into debug-mem-silent
2025-07-01 09:51:06 -07:00
Tom Stitt
32aea6ed2d
deallocate via the allocator instead of the resource manager. fixes use of device allocators with introspection off
2025-06-20 14:15:31 -07:00
Victor DeCaria
cb4ca9228f
add option to disable protection with debug backend
2025-06-05 09:34:25 -06:00
Victor DeCaria
626284bc29
make windows compatible
2025-04-23 16:35:04 -06:00
Victor DeCaria
3612f1e978
make original behavior fall through correctly
2025-04-23 16:07:04 -06:00
Victor DeCaria
0563180e55
formatting
2025-04-23 15:30:38 -06:00
Victor DeCaria
fb8c6eb0fe
chain memory manager sigaction with asan. Print more signal information
2025-04-23 15:29:32 -06:00
Tzanio Kolev
e4c2152419
Update Copyright to 2010-2025
2025-02-03 12:17:26 -08:00
Will Pazner
19a1750527
Rename getenv wrapper to GetEnv
...
Also use getenv wrapper in KernelReporter
2024-12-26 16:55:45 -08:00
Veselin Dobrev
cf4e79b0e5
Bugfixes in MemoryManager::Copy* methods for the case of alias memory
2024-10-17 16:07:13 -07:00
Andrew Ho
676a94dcc5
Added support for HIP managed memory to the memory manager
2024-09-27 14:04:45 -07:00
Will Pazner
b023416c47
Use override specifier in more places
...
Identified using clang-tidy check 'modernize-use-override'
2024-08-05 09:45:46 -07:00
Veselin Dobrev
fe5c9d6d73
Fix a failure in the case when MFEM uses host memory type different
...
from MemoryType::HOST -- copying a Memory object of size 0 to an
empty destination Memory (pointer is NULL) fails.
2024-05-06 21:38:23 -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
b511127230
Merge branch 'master' into sundials-hip
2023-06-23 08:07:00 -07:00
barracuda156
ef5d022ab3
Define MAP_ANONYMOUS to MAP_ANON whenever it is undefined
2023-05-28 13:07:47 +08:00
David Dement
314a32af2e
Fixes comilation errors when compiling with gcc-13 on Fedora 38
...
When compiling with gcc-13, types such as uint64_t are not defined.
It is likely that <cstdint> is included implicitly with older compiler
versions.
2023-04-27 10:33:51 -04:00
Veselin Dobrev
1f4cc7c9ae
In MemoryManager::Register_, check for alias after checking for
...
nullptr -- it is okay to try to register an alias to nullptr.
2023-04-12 23:39:43 -07:00
Veselin Dobrev
fc0602cf16
In the memory manager, when creating an alias memory to nullptr,
...
do not set the flag OWNS_INTERNAL of the alias.
2023-04-10 20:20:08 -07:00
Veselin Dobrev
c6a5ffd3dc
Small tweaks in the memory manager.
...
In INSTALL, use more consistent formatting for the version
requirements for SUNDIALS.
Remove unused SUNDIALS includes from vector.?pp.
2023-04-08 19:15:43 -07:00
Tzanio Kolev
96e00dc815
Updated COPYRIGHT to 2010-2023
2023-03-11 16:58:18 -08:00
Veselin Dobrev
119451df1a
Rename NO_ERROR_ to No_Error and REGISTERED_ to Registered
2023-03-06 16:26:45 -08:00
Cyrus Harrison
06beca6d83
changes to enums to avoid windows macro conflicts
2023-02-21 10:59:20 -08:00
William S. Moses
973b42c57a
Simplify
2022-12-16 17:19:02 -05:00
William S. Moses
0f75a95372
Modifiy Delete_ to not return a value
2022-12-15 18:06:16 -05:00
Will Pazner
24825a5d26
Replace sprintf with snprintf
2022-11-05 13:38:42 -07:00
Veselin Dobrev
215d037a5a
Fix a bug:
...
#elif MFEM_USE_HIP --> #elif defined(MFEM_USE_HIP)
2022-10-21 16:50:22 -07:00
Tzanio Kolev
19e40fa95f
Typos
2022-10-21 15:00:47 -07:00
Tzanio
6d2530775b
Extended copyright to 2022
2022-02-25 10:24:50 -08:00
Will Pazner
14b48da4d2
Merge remote-tracking branch 'origin/master' into shadow-out-dev
2022-02-18 08:20:52 -08:00
Tom Stitt
cbfb0a7ed2
use memcpyasync for d2d in the regular hipdevicememoryspace
...
add notes about reasons
2022-01-27 10:47:17 -08:00
Tom Stitt
cf3173ab92
for the Umpire device space use HipMemcpyDtoDAsync instead of (sync) version to avoid unnecessary host blocking
2022-01-21 14:02:39 -08:00
Stowell, Mark L
63381b366a
Renaming ostream variables from out to os
2022-01-18 15:06:46 -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
e9af593bd3
Update an MFEM_ASSERT for a special case that comes up when
...
using 'host-umpire' memory which is the default when MFEM is
built with Umpire.
2021-10-07 19:04:12 -07:00
Tom Stitt
0bd6208942
use QuickPool instead of DynamicPool; requires Umpire >=3 so bump the version in INSTALL
2021-10-07 16:44:48 -07:00
Tom Stitt
3db650c24f
umpire 6 requires us to include the specifc strategy header we are using
2021-10-06 18:04:05 -07:00
Veselin Dobrev
2ae031628b
Remove alias check from MemoryManager::EraseDevice.
...
Fix CMake build when both CUDA and OpenMP are enabled.
2021-07-29 14:36:37 -07:00
Tzanio
810ecc6a9f
typo
2021-07-22 18:07:55 -07:00
Veselin Dobrev
3f40c5796f
More bugfixes and tweaks for hypre+cuda support.
2021-07-22 08:57:25 -07:00
Veselin Dobrev
ae1445e9ca
Merge branch 'master' into hypre-cuda-dev
...
Resolved conflicts:
general/mem_manager.cpp
2021-07-22 06:59:42 -07:00
Tzanio Kolev
e654f4c607
Merge pull request #2203 from mfem/form-linear-system-tweak
...
Tweak FormLinearSystem methods
2021-07-21 08:27:28 -07:00
Tzanio
cc9fda7d8f
Merge branch 'master' into form-linear-system-tweak
2021-07-15 18:29:13 -07:00
Veselin Dobrev
15465cf610
More tweaks and updates for hypre built with cuda.
2021-07-03 22:24:57 -07:00