![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Helper executor of parallel OpenMP loop with the guided schedule. More...
#include <TaskKernelCpuOmp2Blocks.hpp>
Inheritance diagram for alpaka::detail::ParallelForGuidedImpl< TKernel, TSchedule, TSfinae >: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. | |
Helper executor of parallel OpenMP loop with the guided 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 437 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 447 of file TaskKernelCpuOmp2Blocks.hpp.