Commit Graph
33 Commits
Author SHA1 Message Date
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
Dylan Copeland c009fb9bde Merge branch 'master' of github.com:mfem/mfem into float 2024-03-15 11:31:39 -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
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
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Veselin Dobrev b4dcec859b Create a new standalone unit test for the debug device. 2021-07-20 23:49:25 -07:00
Veselin Dobrev b7ab371c80 Tweak the impementation of Vector::NewMemoryAndSize to create
an alias when the 'own_mem' parameter is fasle.

Several simplifications/tweaks related to Vector::NewMemoryAndSize
and Vector::MakeRef in BlockVector, GridFunction, LinearForm, and
ParBlockNonlinearForm.

Add more MFEM_ASSERTs in MemoryManager::Delete_.

Remove MemoryManager::RegisterAliasBases().

In Memory<T>::MakeAlias, register the 'base' when the globally
configured device memory type (which can be a host type, e.g. when
running on host) is a device memory type. Always registering the
'base' creates errors in the unit tests:
   "alias already exists with different base/offset!"
which are probably due to dangling aliases. If we want to always
register the 'base', we need to address these errors.

Updated the unit test "MemoryManager/Scopes" to test for the new
behavior of Vector::NewMemoryAndSize.

Disable the unit test "MemoryManager" since it defined a Device
object which destroys the MemoryManager at the end of the test.
2021-05-12 13:47:11 -07:00
camierjs 616519083d Moving non-debug tests before the others 2021-05-03 17:10:57 -07:00
camierjs a0beaf7852 Add minimal memory manager failing tests with NewMemoryAndSize / Read / SyncMemory 2021-05-03 16:44:26 -07:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Will Pazner 9d83eed55c Upgrade to Catch v2.13.0 from v1.6.1 2020-08-04 08:37:48 -07:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio fd598e8643 Final changes 2020-03-04 19:40:18 -08:00
camierjs a82b4a0de4 Simplify new device controller, flush device ngpu and adjust unit mem tests 2020-02-18 16:10:48 -08:00
camierjs fb6a88ed7d Unit test test_mem handles alerady non-empty maps 2020-02-05 16:37:32 -08:00
camierjs 27aa1bcf1d MFEM_MEMORY=debug m test -j 2020-02-03 17:40:01 -08:00
camierjs 2280204e4d Renamed sedov tests and simplify lazy mm ctrl setup 2020-02-01 14:35:24 -08:00
camierjs 9d503036ff Set static intrules to use MemoryType::HOST
Remove mfem::out-puts in unit tests
2020-01-31 11:19:00 -08:00
camierjs 8b667b09c4 Simplify MFEM_ENV_DEVICE logic 2020-01-30 10:21:58 -08:00
camierjs 0cd79077ae 'uvm' as cuda device option, test unit now use MFEM_MPI_NP 2020-01-28 15:25:02 -08:00
camierjs 67a1f10202 Merge HOST_MANAGED and DEVICE_MANAGED, UVM via MFEM_USE_UVM 2020-01-28 14:25:47 -08:00
camierjs 926151dabf Remove memory types increment and decrement operations 2020-01-28 11:03:21 -08:00
camierjs d117979f56 Debug & Cleanup 2019-11-26 19:08:40 -08:00
camierjs c2473cbdc4 All sedov tests, WIN32 fix and avoid PAMassApply3D 2019-11-20 11:39:31 -08:00
camierjs 13b9db0e27 WIN32 cmath addon 2019-11-19 10:32:41 -08:00
camierjs 361f47a4ee Dbg cleanup and test_mem.cpp w/o UVM 2019-11-13 17:02:04 -08:00
camierjs d0f98d1619 MFEM_UMPIRE_HOST & MFEM_UMPIRE_DEVICE names 2019-10-24 18:34:39 -07:00
camierjs b37c1bc014 tests/unit/general/test_mem sysconf fix for AppVeyor 2019-10-24 17:04:48 -07:00
camierjs 8431073062 tests/unit/general/test_mem valgrind check 2019-10-24 14:58:33 -07:00
camierjs edf2509992 NewMemoryAndSize own_mem @ true, and all Laghos tests 2019-10-24 11:52:01 -07:00