33 #if defined _OPENMP && _OPENMP >= 200805
63 #if defined _OPENMP && _OPENMP >= 200805
66 omp_get_schedule(&ompKind, &chunkSize);
83 #if defined _OPENMP && _OPENMP >= 200805
84 omp_set_schedule(
static_cast<omp_sched_t
>(schedule.
kind), schedule.
chunkSize);
ALPAKA_FN_HOST void setSchedule(Schedule schedule)
Set the OpenMP schedule that is applied when the runtime schedule is used for future parallel regions...
ALPAKA_FN_HOST auto getSchedule()
Get the OpenMP schedule that is applied when the runtime schedule is used.
Representation of OpenMP schedule information: kind and chunk size. This class can be used regardless...
int chunkSize
Chunk size. Same as in OpenMP, value 0 corresponds to default chunk size. Using int and not a fixed-w...
Kind
Schedule kinds corresponding to arguments of OpenMP schedule clause.
constexpr ALPAKA_FN_HOST Schedule(Kind myKind=NoSchedule, int myChunkSize=0)
Create a schedule with the given kind and chunk size.