alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Executor of parallel OpenMP loop with the static schedule. More...
#include <TaskKernelCpuOmp2Blocks.hpp>
Public Member Functions | |
template<typename TLoopBody , typename TIdx > | |
ALPAKA_FN_HOST void | operator() (TKernel const &, TLoopBody &&loopBody, TIdx const numIterations, omp::Schedule const &schedule) |
Run parallel OpenMP loop. More... | |
Executor of parallel OpenMP loop with the static schedule.
Specialization for kernels specializing the OmpSchedule trait.
TKernel | The kernel type. |
Definition at line 108 of file TaskKernelCpuOmp2Blocks.hpp.
|
inline |
Run parallel OpenMP loop.
TLoopBody | The loop body functor type. |
TIdx | The index type. |
loopBody | The loop body functor instance, takes iteration index as input. |
numIterations | The number of loop iterations. |
schedule | The schedule object. |
Definition at line 119 of file TaskKernelCpuOmp2Blocks.hpp.