Kokkos Core Kernels Package Version of the Day
|
LogicalMemorySpace is a space that is identical to another space, but differentiable by name and template argument. More...
#include <Kokkos_LogicalSpaces.hpp>
Public Types | |
using | memory_space |
Tag this class as a kokkos memory space. | |
using | execution_space |
Default execution space for this memory space. | |
Public Member Functions | |
void * | allocate (const size_t arg_alloc_size) const |
Allocate untracked memory in the space. | |
void | deallocate (void *const arg_alloc_ptr, const size_t arg_alloc_size) const |
Deallocate untracked memory in the space. | |
Static Public Member Functions | |
static constexpr const char * | name () |
Return Name of the MemorySpace. | |
LogicalMemorySpace is a space that is identical to another space, but differentiable by name and template argument.
Definition at line 54 of file Kokkos_LogicalSpaces.hpp.
using Kokkos::Experimental::LogicalMemorySpace< BaseSpace, DefaultBaseExecutionSpace, Namer, SharesAccessWithBase >::memory_space |
Tag this class as a kokkos memory space.
Definition at line 66 of file Kokkos_LogicalSpaces.hpp.
Kokkos::Experimental::LogicalMemorySpace< BaseSpace, DefaultBaseExecutionSpace, Namer, SharesAccessWithBase >::execution_space |
Default execution space for this memory space.
Every memory space has a default execution space. This is useful for things like initializing a View (which happens in parallel using the View's default execution space).
Definition at line 77 of file Kokkos_LogicalSpaces.hpp.
|
inline |
Allocate untracked memory in the space.
Definition at line 90 of file Kokkos_LogicalSpaces.hpp.
|
inline |
Deallocate untracked memory in the space.
Definition at line 99 of file Kokkos_LogicalSpaces.hpp.
|
inlinestaticconstexpr |
Return Name of the MemorySpace.
Definition at line 110 of file Kokkos_LogicalSpaces.hpp.