Tzanio
05125e19d5
Removed a space
2020-03-09 15:36:41 -07:00
Tzanio
ca55ef0217
The release number for mfem-4.1 is LLNL-CODE-806117
2020-03-02 17:18:46 -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
Veselin Dobrev
40378a046b
Introduce a new Memory class for handling host + device allocations
...
and transfers.
The Memory class is now used by some MFEM classes (like Array and
Vector) which can be used on the Device. Such classes now provide
methods to access the underlying Memory object, e.g. GetMemory.
Updated ex1/ex1p and ex6/ex6p to not need to enable/disable the
Device at specific points -- the Device is now enabled just at the
start. Also, the same examples can now run on Device (e.g. -d cuda)
without the partial assembly option (-pa) -- full assembly will
be still done on CPU but the sparse matrix action and vector
operations will be done using the Device.
Reverted changes in class DenseMatrix related to using the Device.
At this point, DenseMatrix operations are only used for small matrices
and using the Device in this case is not a good option.
2019-05-16 14:53:39 -07:00
Tzanio
a28a779df1
Merge branch 'okina' into okina-mm-object
...
Conflicts:
fem/bilininteg_ext.cpp
general/mem_manager.cpp
general/mem_manager.hpp
general/occa.cpp
2019-04-09 19:19:45 -07:00
camierjs
2020335b50
Renaming + free functions in mfem namespace
2019-04-09 18:17:00 -07:00
Tzanio
a49cd5df97
Merge branch 'okina-device-tweaks' into okina-rename
...
Conflicts:
fem/bilinearform_ext.cpp
fem/bilininteg_ext.cpp
general/cuda.cpp
2019-04-09 18:08:44 -07:00
Veselin Dobrev
ce2c543339
Update calls to Device::IsEnabled() and Device::IsDisabled() with
...
appropriate calls to Device::Allows().
2019-04-09 17:51:19 -07:00
camierjs
94c5397c7d
Remove the memory manager singleton
2019-04-09 17:12:20 -07:00
Veselin Dobrev
600f5ec4bd
Some additional simplifications and tweaks in headers.
...
Add MFEM_CUDA_CHECK_{DRV,RT} macros.
2019-04-09 00:37:58 -07:00
Tzanio
e0c45fb9d4
Reserve okina name for future kernel interface
2019-04-08 23:39:10 -07:00
camierjs
4432d66158
Remove last OCCA macro and use a map for different kernels
2019-04-08 19:34:32 -07:00
Veselin Dobrev
55f0a7ec66
Updates to the mfem::Device class.
2019-04-08 16:48:56 -07:00
Tzanio
ac452b56dd
Use MFEM_VERIFY instead of mfem_error
...
A few #if defined(X) -> #ifdef X
2019-04-06 20:50:50 -07:00
camierjs
f4b4716f43
make style
2019-04-04 11:47:51 -07:00
camierjs
8a4ae9a556
Rework include hierarchy not to present cuda/occa internal headers
...
Separate dvector3 from dtensor because it is used in coefficient.hpp
2019-04-04 11:45:46 -07:00
camierjs
439208142e
Warning fix
2019-04-03 17:06:54 -07:00
Tzanio
76a1c705af
make style
2019-04-03 10:29:10 -07:00
camierjs
ef636179ac
Occa all-in mode fix
...
Added order 4 for geometric kernels
2019-04-02 17:37:29 -07:00
Tzanio
4706590237
Consolidating okina and its backends.
2019-03-21 18:55:44 -07:00
Tzanio
b589caf151
Replaced __NVCC__ -> MFEM_USE_CUDA and __OCCA__ -> MFEM_USE_OCCA
2019-03-21 17:23:27 -07:00
camierjs
4a61377ddc
Cleanup
2019-03-20 10:18:50 -07:00
Jean-Sylvain Camier
54dec8750f
last 'and' + _MSC_VER header
2018-12-21 08:57:26 -08:00
camierjs
fa4df4b8b3
MFEM_USE_MM, EnsureNodes and MM logic
2018-12-20 16:53:25 -08:00
camierjs
30acfd7f8f
Pull new Memory Manager to get most examples working
2018-12-18 16:05:49 -08:00
camierjs
7910fd2ee5
Resolving requested changes: renaming, NVCC logic, device setup & typo
2018-12-11 15:41:47 -08:00
camierjs
e1fda2c90e
remove last #ifdef in mm.cpp
2018-12-05 12:56:19 -08:00
camierjs
56b447347b
make style
2018-12-05 12:37:53 -08:00
camierjs
1f2f0d4002
Cleanup
2018-12-05 12:37:39 -08:00
camierjs
133b2f2325
occa cpp/hpp files
2018-12-05 12:31:23 -08:00