-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement getHostBasis() in newer Basis subclasses (#8811)
Intrepid2: added getHostBasis() implementations for several Basis subclasses, along with support for DeviceType template arguments in the same. Specifically, the following classes now support getHostBasis and DeviceType template arguments: - DerivedBasis_HCURL_HEX - DerivedBasis_HCURL_QUAD - DerivedBasis_HDIV_HEX - DerivedBasis_HDIV_QUAD - DerivedBasis_HGRAD_HEX - DerivedBasis_HGRAD_QUAD - DerivedBasis_HVOL_HEX - DerivedBasis_HVOL_QUAD - HGRAD_LINE_Cn_FEM - HVOL_LINE_Cn_FEM - IntegratedLegendreBasis_HGRAD_LINE - LegendreBasis_HVOL_LINE Other changes: - added typedef Intrepid2::DefaultTestDeviceType to TestUtils; this is UVM-free on CUDA, and Kokkos::DefaultExecutionSpace::device_type otherwise. - Made use of DefaultTestDeviceType as well as getHostBasis in the BasisValues test group (in MonolithicExecutable) - revised template arguments of Basis_DirectSumBasis, Basis_TensorBasis, andBasis_TensorBasis3; these now depend only on the base Basis class - added typedef for BasisBase in several Basis subclasses - added typedef for HostBasis in several Basis subclasses (specifically, those defined on the line which are used in DerivedBasis instantiations) The modified tests within MonolithicExecutable exercise getHostBasis() on all modified bases. These also test the modified bases with the UVM-free DeviceType when run under CUDA.
- Loading branch information
1 parent
817210a
commit 4002c6b
Showing
23 changed files
with
596 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.