alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::detail::ParallelForImpl< TKernel, omp::Schedule, omp::Schedule::Dynamic > Struct Template Reference

Executor of parallel OpenMP loop with the dynamic 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...
 

Detailed Description

template<typename TKernel>
struct alpaka::detail::ParallelForImpl< TKernel, omp::Schedule, omp::Schedule::Dynamic >

Executor of parallel OpenMP loop with the dynamic schedule.

Specialization for kernels specializing the OmpSchedule trait.

Template Parameters
TKernelThe kernel type.

Definition at line 252 of file TaskKernelCpuOmp2Blocks.hpp.

Member Function Documentation

◆ operator()()

template<typename TKernel >
template<typename TLoopBody , typename TIdx >
ALPAKA_FN_HOST void alpaka::detail::ParallelForImpl< TKernel, omp::Schedule, omp::Schedule::Dynamic >::operator() ( TKernel const &  ,
TLoopBody &&  loopBody,
TIdx const  numIterations,
omp::Schedule const &  schedule 
)
inline

Run parallel OpenMP loop.

Template Parameters
TLoopBodyThe loop body functor type.
TIdxThe index type.
Parameters
loopBodyThe loop body functor instance, takes iteration index as input.
numIterationsThe number of loop iterations.
scheduleThe schedule object.

Definition at line 263 of file TaskKernelCpuOmp2Blocks.hpp.


The documentation for this struct was generated from the following file: