This file contains the interface used for initializing/terminating any hardware accelerator-related functionality.
More...
|
|
template<typename T , int dim, ExecutionSpace space> |
| using | serac::ExecArray = axom::Array< T, dim, detail::execution_to_memory_v< space > > |
| | Alias for an Array corresponding to a particular ExecutionSpace.
|
| |
|
template<typename T , int dim = 1> |
| using | serac::CPUArray = ExecArray< T, dim, ExecutionSpace::CPU > |
| | Alias for an array on the CPU.
|
| |
|
template<typename T , int dim = 1> |
| using | serac::GPUArray = ExecArray< T, dim, ExecutionSpace::CPU > |
| | Alias for an array on the GPU.
|
| |
|
template<typename T , int dim = 1> |
| using | serac::UnifiedArray = ExecArray< T, dim, ExecutionSpace::CPU > |
| | Alias for an array in unified memory.
|
| |
|
template<typename T , int dim, ExecutionSpace space> |
| using | serac::ExecArrayView = axom::ArrayView< T, dim, detail::execution_to_memory_v< space > > |
| | Alias for an ArrayView corresponding to a particular ExecutionSpace.
|
| |
|
template<typename T , int dim = 1> |
| using | serac::CPUArrayView = ExecArrayView< T, dim, ExecutionSpace::CPU > |
| | Alias for an array view on the CPU.
|
| |
|
|
template<typename T , int dim, axom::MemorySpace space> |
| void | serac::detail::zero_out (axom::Array< T, dim, space > &arr) |
| | set the contents of an array to zero, byte-wise
|
| |
|
template<typename T , int dim> |
| void | serac::detail::zero_out (axom::ArrayView< T, dim, detail::host_memory_space > &arr) |
| | set the contents of an array to zero, byte-wise
|
| |
|
template<typename T , int dim, axom::MemorySpace space> |
| auto | serac::view (axom::Array< T, dim, space > &arr) |
| | convenience function for creating a view of an axom::Array type
|
| |
| void | serac::accelerator::initializeDevice () |
| | Initializes the device (GPU) More...
|
| |
|
void | serac::accelerator::terminateDevice () |
| | Cleans up the device, if applicable.
|
| |
| template<ExecutionSpace exec, typename T > |
| std::shared_ptr< T[]> | serac::accelerator::make_shared_array (std::size_t n) |
| | create shared_ptr to an array of n values of type T, either on the host or device More...
|
| |
| template<ExecutionSpace exec, typename... T> |
| auto | serac::accelerator::make_shared_arrays (std::size_t n) |
| | create shared_ptr to an array of n values of type T, either on the host or device More...
|
| |
This file contains the interface used for initializing/terminating any hardware accelerator-related functionality.
Definition in file accelerator.hpp.