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 17 of file CPUExecutor.hpp.
◆ exec
◆ CPUExecutor()
NeoFOAM::CPUExecutor::CPUExecutor |
( |
| ) |
|
◆ ~CPUExecutor()
NeoFOAM::CPUExecutor::~CPUExecutor |
( |
| ) |
|
◆ alloc() [1/2]
template<typename T >
T * NeoFOAM::CPUExecutor::alloc |
( |
size_t |
size | ) |
const |
|
inline |
◆ alloc() [2/2]
void * NeoFOAM::CPUExecutor::alloc |
( |
size_t |
size | ) |
const |
|
inline |
◆ createKokkosView()
template<typename ValueType >
decltype(auto) NeoFOAM::CPUExecutor::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 53 of file CPUExecutor.hpp.
◆ free()
void NeoFOAM::CPUExecutor::free |
( |
void * |
ptr | ) |
const |
|
inlinenoexcept |
◆ name()
std::string NeoFOAM::CPUExecutor::name |
( |
| ) |
const |
|
inline |
◆ realloc() [1/2]
template<typename T >
T * NeoFOAM::CPUExecutor::realloc |
( |
void * |
ptr, |
|
|
size_t |
newSize |
|
) |
| const |
|
inline |
◆ realloc() [2/2]
void * NeoFOAM::CPUExecutor::realloc |
( |
void * |
ptr, |
|
|
size_t |
newSize |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/NeoFOAM/NeoFOAM/include/NeoFOAM/core/executor/CPUExecutor.hpp