Executor for handling multicore CPU based parallelization.
More...
#include <CPUExecutor.hpp>
|
| using | exec = Kokkos::DefaultHostExecutionSpace |
Executor for handling multicore CPU based parallelization.
Definition at line 23 of file CPUExecutor.hpp.
◆ exec
◆ CPUExecutor() [1/2]
| NeoN::CPUExecutor::CPUExecutor |
( |
| ) |
|
◆ CPUExecutor() [2/2]
◆ ~CPUExecutor()
| NeoN::CPUExecutor::~CPUExecutor |
( |
| ) |
|
◆ alloc()
template<typename T>
| T * NeoN::CPUExecutor::alloc |
( |
sizeType | elements | ) |
const |
|
inline |
◆ createKokkosView()
template<typename ValueType>
| decltype(auto) NeoN::CPUExecutor::createKokkosView |
( |
ValueType * | ptr, |
|
|
sizeType | 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 69 of file CPUExecutor.hpp.
◆ free()
| void NeoN::CPUExecutor::free |
( |
void * | ptr | ) |
const |
|
inlinenoexcept |
◆ memorySpace()
◆ name()
| std::string NeoN::CPUExecutor::name |
( |
| ) |
const |
|
inline |
◆ realloc()
template<typename T>
| T * NeoN::CPUExecutor::realloc |
( |
void * | ptr, |
|
|
sizeType | elements ) const |
|
inline |
◆ underlyingExec()
| exec NeoN::CPUExecutor::underlyingExec |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: