Commit Graph
103 Commits
Author SHA1 Message Date
Stowell, Mark L 43d20869d2 Modifying new mesh names in sample runs 2020-06-07 12:08:58 -07:00
Stowell, Mark L 286888a85d Adding Gmsh example meshes and corresponding sample runs 2020-05-26 17:20:44 -07:00
Yohann Dudouit b71d141155 Merge branch 'mfem-4.1-dev' of github.com:mfem/mfem into mfem-4.1-dev 2020-03-05 10:37:20 -08:00
Yohann Dudouit 18ffe9ea34 Add device sample run for ex1 on simplices.
- Use the backend specification semmantic `-d ceed-cuda:/gpu/cuda/ref`
to select a specific backend in libCEED.
2020-03-05 10:36:36 -08:00
Yohann Dudouit 5884f96b20 Create a UsesTensorBasis function for FESpace. 2020-02-14 15:55:33 -08:00
Yohann Dudouit 59ab675334 Modifications based on A. Barker review. 2020-02-04 16:54:49 -08:00
Yohann Dudouit 790eb85817 Clean the code 2020-01-16 19:05:28 -08:00
Yohann Dudouit f487ceba99 Merge branch 'master' into yohann/nontensor
Conflicts:
	fem/libceed/ceed.cpp
	fem/libceed/ceed.hpp
	fem/libceed/diffusion.cpp
	fem/libceed/mass.cpp
2020-01-16 17:47:15 -08:00
Yohann Dudouit c7953aa673 Change AssembleDiagonal to work with libCEED.
Merge branch 'master' into yohann/okina-gpu-libceed

Conflicts:
	INSTALL
	makefile
2020-01-08 09:37:28 -08:00
Tzanio b0a79d993b Final adjustments 2020-01-05 21:50:25 -08:00
Andrew T. Barker f1b0981d34 Fix dumb mistake in examples. 2020-01-03 14:42:53 -08:00
Andrew T. Barker 9f691f5460 Address issues from reviews by Veselin and Tzanio. 2020-01-03 13:22:11 -08:00
Yohann Dudouit d504de8705 Add sample runs for libCEED in ex1, ex1p, ex6, ex6p. 2019-12-12 09:42:17 -08:00
Andrew T. Barker fa9cea9486 Rename VectorSmoother -> OperatorJacobiSmoother 2019-08-21 16:45:48 -07:00
camierjs 68f360f38c 3D Jacobi PA precond. for Diffusion on GPU 2019-06-28 15:04:02 -07:00
Andrew T. Barker 8b146d4c06 ex1: implement Jacobi preconditioning for partial assembly 2019-06-26 13:27:53 -07:00
Veselin Dobrev 75065b0ea1 Addressing some feedback from the PR. 2019-05-24 10:25:34 -07:00
Veselin Dobrev b69fd1e038 Some tweaks and additions to the MemoryManager class.
Modify the Device class to require the creation of an object in
order to use backends other then Backend::CPU. At destriction,
this object will call the Destroy() method of the MemoryManager to
deallocate any remaining registered device pointers.

In class Device, remove the method Disable() and make the method
Enable() private.

Use a global Array<double> as the buffer used by the cuda functions
for minimum and dot product.
2019-05-23 23:21:27 -07:00
Tzanio 3a860f124c Added a call to Device::Enable at the end of Device::Configure.
Updated examples to use only Device::Configure (no more calls to Enable/Disable)
2019-05-21 19:17:06 -07: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
camierjs e9de1fcf7b Remove '>' in front of devices tests 2019-04-15 16:05:18 -07:00
Veselin Dobrev 2d39e09c12 Further small tweaks of the examples. 2019-04-11 15:52:59 -07:00
Veselin Dobrev 678759a2d6 Updates in the BilinearForm and related classes.
Small updates in ex1, ex1p, ex6, ex6p.
2019-04-10 21:34:47 -07:00
Veselin Dobrev 55f0a7ec66 Updates to the mfem::Device class. 2019-04-08 16:48:56 -07:00
dmed256 37a11563fe [Examples] Added additional okina device run examples 2019-04-02 23:00:53 -07:00
camierjs ef636179ac Occa all-in mode fix
Added order 4 for geometric kernels
2019-04-02 17:37:29 -07:00
Tzanio c2e3f8cd00 Adding Device::Print() method that print the configured device + programming
models in order of priority.
2019-03-25 14:50:52 -07:00
Tzanio 2aee6c0b2a Adding device sample runs in examples 2019-03-22 14:57:20 -07:00
Tzanio 614c78b65e Renamed the config class to Device, and simplified its use in the examples. 2019-03-22 14:15:27 -07:00
Tzanio bb7c142ce0 Renamed linalg/device.hpp to linalg/dtensor.hpp.
Some edits in the examples.
2019-03-22 12:15:14 -07:00
camierjs 927da250a5 Merge branch 'okina' into okina-bilininteg 2019-03-14 14:34:31 -07:00
camierjs baa1d5bfb8 Add examples mode and cuda cleanup 2019-03-05 12:31:47 -08:00
camierjs 64cf91cf21 - config rename convention
- ex1, ex6 switch back to host
- mm filtering
- dot device ptr call
2019-03-05 12:20:26 -08:00
Jean-Sylvain Camier a882a4438d Remove abstract methods in fem/bilininteg 2019-03-02 21:20:01 -08:00
artv3 ef8510cfc3 added OpenMP backend to Okina 2019-02-11 10:00:15 -08:00
Vargas, Arturo 777890ad3e review comments 2019-01-22 16:32:55 -08:00
Vargas, Arturo 78c0931be2 fixes to compile without raja 2019-01-22 15:11:50 -08:00
Vargas, Arturo 469a60ba21 first pass at RAJA support \n 2019-01-22 14:28:50 -08:00
Tzanio 143785de69 make style 2018-12-20 16:57:07 -08:00
camierjs fa4df4b8b3 MFEM_USE_MM, EnsureNodes and MM logic 2018-12-20 16:53:25 -08:00
Tzanio fb9f3ed514 Simplified parallel bilinear form 2018-12-20 16:26:37 -08:00
Jean-Sylvain Camier 660cb90789 Remove maps usage when unnecessary 2018-12-18 20:34:24 -08:00
Tzanio 96b62506d0 Merge branch 'okina' into okina-fem-dev
Conflicts:
	examples/ex1.cpp
	fem/bilinearform.hpp
2018-12-18 14:20:41 -08:00
Tzanio 74078d9018 Simplifications/redisign for handling PA, etc. in the BilinearForm class, while
maintaining full backward compatibility.
2018-12-18 14:07:10 -08:00
Jean-Sylvain Camier 4fe586f534 Use instead of Set for Cuda, Occa and PA 2018-12-15 21:02:16 -08:00
camierjs 7910fd2ee5 Resolving requested changes: renaming, NVCC logic, device setup & typo 2018-12-11 15:41:47 -08:00
camierjs 761da0f8a0 Remove dbg outputs 2018-12-05 12:46:58 -08:00
camierjs 133b2f2325 occa cpp/hpp files 2018-12-05 12:31:23 -08:00
camierjs 8a3e2735f6 occaDeviceSetup device, paths & kernels settings 2018-11-19 14:16:16 -08:00
camierjs b8672453a4 Examples ex1 and ex1p cleanup 2018-11-08 13:04:47 -08:00