|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
The execution_space is a traits class that binds the execution space to a corresponding RAJA execution policies and default memory allocator. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/core/execution/execution_space.hpp>
Public Types | |
| using | loop_policy = void |
| using | reduce_policy = void |
| using | atomic_policy = void |
| using | sync_policy = void |
Static Public Member Functions | |
| static constexpr bool | async () noexcept |
| static constexpr bool | valid () noexcept |
| static constexpr bool | onDevice () noexcept |
| static constexpr char * | name () noexcept |
| static int | allocatorID () noexcept |
| static constexpr runtime_policy::Policy | runtimePolicy () noexcept |
| static bool | usesMemorySpace (axom::MemorySpace m) noexcept |
Returns whether ExecSpace can use the given MemorySpace. More... | |
| static bool | usesAllocId (int allocId) noexcept |
Returns whether ExecSpace can use the given allocator id. More... | |
Static Public Attributes | |
| static constexpr MemorySpace | memory_space = MemorySpace::Dynamic |
The execution_space is a traits class that binds the execution space to a corresponding RAJA execution policies and default memory allocator.
| ExecSpace | the execution space |
| using axom::execution_space< ExecSpace >::loop_policy = void |
| using axom::execution_space< ExecSpace >::reduce_policy = void |
| using axom::execution_space< ExecSpace >::atomic_policy = void |
| using axom::execution_space< ExecSpace >::sync_policy = void |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticnoexcept |
References axom::INVALID_ALLOCATOR_ID.
|
inlinestaticconstexprnoexcept |
References axom::runtime_policy::seq.
|
inlinestaticnoexcept |
Returns whether ExecSpace can use the given MemorySpace.
References axom::execution_space< ExecSpace >::memory_space.
|
inlinestaticnoexcept |
Returns whether ExecSpace can use the given allocator id.
References axom::detail::getAllocatorSpace(), axom::INVALID_ALLOCATOR_ID, and axom::execution_space< ExecSpace >::usesMemorySpace().
|
staticconstexpr |