|
template<class T , class... Args> |
static kernel * | make (Args &&...params) |
|
|
class | ::MapBase |
|
class | ::Schedule |
|
class | ::GraphTools |
|
default constructor
default
kernel::kernel |
( |
void *const |
ptr, |
|
|
const std::size_t |
nbytes |
|
) |
| |
in-place allocation
existing memory
clone - used for parallelization of kernels, if necessary sub-kernels should include an appropriate copy constructor so all class member variables can be set.
- Parameters
-
other,T& | - reference to object to be cloned |
- Returns
- kernel* - takes base type, however is same as allocated by copy constructor for T.
virtual raft::kstatus raft::kernel::run |
( |
| ) |
|
|
pure virtual |
run - function to be extended for the actual execution. Code can be executed outside of the run function, i.e., with any function call, however the scheduler will only call the run function so it must initiate any follow-on behavior desired by the user.
Implemented in Print< T, delim >, Sum< A, B, C >, Generate< T >, Sum< A, B, C >, sum< A, B, C >, sum< A, B, C >, Generate< T >, print< T >, print< T >, and Generate< T >.
Port raft::kernel::input = { this } |
|
protected |
PORTS - input and output, use these to interact with the outside world.
std::size_t kernel::kernel_count |
|
staticprotected |
NOTE: doesn't need to be atomic since only one thread will have responsibility to to create new compute kernels.
The documentation for this class was generated from the following files: