Veselin Dobrev
5a37ae4b85
Merge branch 'master' into x86
...
Resolved conflicts:
CHANGELOG
2020-05-19 20:27:09 -07:00
camierjs
7df19938c4
Use _aligned_free
2020-04-07 17:44:57 -07:00
camierjs
afb934a92f
Memory wraps for pair of h_ptr/d_ptr
2020-04-06 15:10:17 -07:00
Tzanio
05125e19d5
Removed a space
2020-03-09 15:36:41 -07:00
Tzanio
58872c9e7b
Merge branch 'master' into okina-mmu
...
Conflicts:
fem/datacollection.cpp
tests/unit/CMakeLists.txt
2020-03-04 15:19:33 -08:00
Tzanio
ca55ef0217
The release number for mfem-4.1 is LLNL-CODE-806117
2020-03-02 17:18:46 -08:00
Veselin Dobrev
d4b81e9ef4
Update the memory backend names based on the configured device
...
backend, CUDA/HIP/none:
- device -> cuda/hip/device
- managed -> cuda-uvm/hip-uvm/managed
- device-umpire -> cuda-umpire/hip-umpire/device-umpire
2020-02-24 16:15:00 -08:00
camierjs
73cf71a049
Re-enable the MFEM errors for mprotect on wrong memory types
2020-02-24 10:58:43 -08:00
Tzanio
2caa222edf
A number of changes to switch the code from LGPL-2.1 to BSD-3:
...
- Updated LICENSE, README, CHANGELOG and CONTRIBUTING.md
- Removed COPYRIGHT, added NOTICE
- Updated the headers in all source files, makefiles, etc.
2020-02-23 11:16:46 -08:00
camierjs
c77720a203
Allowing external pointers wrapped with HOST_DEBUG and HOST_UMPIRE memory types
2020-02-20 18:13:59 -08:00
Veselin Dobrev
616aae7319
Fix compilation warnings about redefining preprocessor macros
...
like 'MFEM_DEVICE', 'MFEM_HOST_DEVICE', etc.
In the CMake build system, set the source language to CUDA (when used)
inside the MFEM functions 'add_mfem_examples' and 'add_mfem_miniapp'.
This eliminates the need to explicitly set the language for each
example/miniapp.
In the CMake build system, ensure correct linking of all examples,
miniapps, and tests when MPI and CUDA are enabled.
When building MFEM with Umpire and CUDA/HIP, make sure Umpire is also
built with CUDA/HIP.
Small update in CHANGELOG.
2020-02-18 19:40:22 -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
de9a39d1f4
Add breaks to avoid unannotated fall-through between switch labels warnings
2020-02-15 09:19:26 -08:00
camierjs
ec55ac1dd8
device logic and typo
2020-02-14 19:04:07 -08:00
camierjs
a6befda705
Remove Umpire config variables and cleanup.
2020-02-12 12:31:29 -08:00
camierjs
62ed833b91
Cleanup MFEM_ASSERT in Delete_
2020-02-11 12:09:47 -08:00
camierjs
607a31ddf4
All tests w/ MFEM_MEMORY=host32,host64,debug,umpire,uvm
2020-02-07 15:32:14 -08:00
camierjs
b09459bb4c
WIP ex6p with hypre vectors
2020-02-06 16:49:02 -08:00
camierjs
d674867b5c
general/mem_manager cleanup
2020-02-05 17:39:16 -08:00
camierjs
4d254677fb
DEVICE_UMPIRE in NewDeviceCtrl
2020-02-05 17:07:38 -08:00
camierjs
fb6a88ed7d
Unit test test_mem handles alerady non-empty maps
2020-02-05 16:37:32 -08:00
camierjs
6d3dc3ff80
Update MFEM_CONTRACT_VAR to avoid nvcc warnings
2020-02-05 15:12:22 -08:00
camierjs
07889899b2
BlockMatrix CreateMonolithic fix,
...
Add MFEM_INIT_WARNING and MFEM_INIT_ABORT
Move Backend::DEBUG as last MFEM device
2020-02-04 12:22:22 -08:00
camierjs
c3bc0a1eab
WIP MFEM_MEMORY && MFEM_DEVICE logic
2020-02-03 18:21:15 -08:00
camierjs
e403842048
Re-enable ifndef _WIN32
2020-02-03 17:43:01 -08:00
camierjs
27aa1bcf1d
MFEM_MEMORY=debug m test -j
2020-02-03 17:40:01 -08:00
camierjs
54ea353672
delete_hypre_CSRMatrixJ fix and meld toward master
2020-02-03 16:24:54 -08:00
camierjs
4fdcf7596c
All parallel examples with debug or host32 memory backends
2020-02-03 15:16:09 -08:00
camierjs
ec31986b84
WIP parallel examples with host32 and debug memories
2020-02-03 14:30:50 -08:00
camierjs
2280204e4d
Renamed sedov tests and simplify lazy mm ctrl setup
2020-02-01 14:35:24 -08:00
camierjs
0aee38c60c
All serial examples with valgrind and debug/host32 allocators
2020-01-31 18:51:31 -08:00
camierjs
51e7d6a7c5
UmpireDeviceMemorySpace else/end if fix
2020-01-30 11:39:29 -08:00
camierjs
9bfda18057
MFEM_USE_CUDA guard within MFEM_USE_UMPIRE
2020-01-30 08:23:30 -08:00
camierjs
bd6a574c6e
Merge branch 'okina-mmu' of github.com:mfem/mfem into okina-mmu
2020-01-29 21:11:56 -08:00
camierjs
c1259a3251
Enable MFEM_ENV_DEVICE=debug, ex[1,2,3,4,6,7,14] ok, ex[5,8,9,10,15,16,17,18,19,20,21,22,23] errors
2020-01-29 21:10:24 -08:00
Veselin Dobrev
4654335dad
A few small tweaks in mem_manager.{c,h}pp.
2020-01-29 19:39:35 -08:00
camierjs
88c40b9705
Wrap picks existing registered host memory type or fall back to MemoryType::HOST
2020-01-29 14:20:10 -08:00
camierjs
764b34c1a8
Cleanup + all tests
2020-01-28 17:44:28 -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
a004743061
Wrap now supports all host and device types
2020-01-28 11:41:32 -08:00
camierjs
396c05f9b5
Move CheckHostMemoryType_ inside MemoryManager::New_
2020-01-28 11:14:15 -08:00
camierjs
926151dabf
Remove memory types increment and decrement operations
2020-01-28 11:03:21 -08:00
camierjs
47f2aa0de7
Merge branch 'master' into okina-mmu
2019-12-16 17:59:40 -08:00
camierjs
b71e5ebd15
UVM CuMallocManaged fix, all tests; debug w/o devices only.
2019-12-16 17:44:13 -08:00
camierjs
cd23752656
Re-enable cross debug/cuda tests
2019-12-12 15:16:36 -08:00
camierjs
d117979f56
Debug & Cleanup
2019-11-26 19:08:40 -08:00
camierjs
f2913a40b6
No possible leaks in example and test_sedov w/ std::new
2019-11-25 20:01:15 -08:00
camierjs
bf2d1eb59a
Cuda, debug examples but last mt
2019-11-25 15:31:54 -08:00
camierjs
9f06597cf5
Add h_mt to aliases to delete it when base memory is already deleted.
2019-11-20 14:32:34 -08:00