alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Helper 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, TSchedule const &) |
Run parallel OpenMP loop. More... | |
Helper executor of parallel OpenMP loop with the static schedule.
Generel implementation is for TKernel types without member ompScheduleChunkSize.
TKernel | The kernel type. |
TSchedule | The schedule type (not necessarily omp::Schedule). |
Definition at line 157 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. |
Definition at line 167 of file TaskKernelCpuOmp2Blocks.hpp.