Reference executor for serial CPU execution.
More...
#include <serialExecutor.hpp>
Reference executor for serial CPU execution.
Definition at line 21 of file serialExecutor.hpp.
◆ exec
◆ SerialExecutor() [1/2]
| NeoN::SerialExecutor::SerialExecutor |
( |
| ) |
|
◆ SerialExecutor() [2/2]
| NeoN::SerialExecutor::SerialExecutor |
( |
std::unique_ptr< AllocatorStrategy > |
strategy | ) |
|
◆ ~SerialExecutor()
| NeoN::SerialExecutor::~SerialExecutor |
( |
| ) |
|
◆ alloc()
template<typename T >
| T * NeoN::SerialExecutor::alloc |
( |
size_t |
elements | ) |
const |
|
inline |
◆ createKokkosView()
| decltype(auto) NeoN::SerialExecutor::createKokkosView |
( |
ValueType * |
ptr, |
|
|
size_t |
size |
|
) |
| const |
|
inline |
create a Kokkos view for a given ptr
Based on the executor this function creates a Kokkos view into the data managed by ptr
- Parameters
-
| ptr | Pointer to data for which a view should be created |
| size | Number of elements this view contains |
- Template Parameters
-
| ValueType | The value type the underlying memory holds |
Definition at line 74 of file serialExecutor.hpp.
◆ free()
| void NeoN::SerialExecutor::free |
( |
void * |
ptr | ) |
const |
|
inlinenoexcept |
◆ memorySpace()
| MemorySpace NeoN::SerialExecutor::memorySpace |
( |
| ) |
const |
|
inlinenoexcept |
◆ name()
| std::string NeoN::SerialExecutor::name |
( |
| ) |
const |
|
inline |
◆ realloc()
| T * NeoN::SerialExecutor::realloc |
( |
void * |
ptr, |
|
|
size_t |
elements |
|
) |
| const |
|
inline |
◆ underlyingExec()
| exec NeoN::SerialExecutor::underlyingExec |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: