Next: , Previous: omp_set_num_threads, Up: Runtime Library Routines

2.19 omp_set_schedule – Set the runtime scheduling method

Sets the runtime scheduling method. The kind argument can have the value omp_sched_static, omp_sched_dynamic, opm_sched_guided or omp_sched_auto. Except for omp_sched_auto, the chunk size is set to the value of modifier if positive or to the default value if zero or negative. For omp_sched_auto the modifier argument is ignored.

Prototype: int omp_schedule(omp_sched_t * kind, int *modifier);


Interface: subroutine omp_schedule(kind, modifier)
integer(kind=omp_sched_kind) kind
integer modifier

See also:
omp_get_schedule OMP_SCHEDULE
OpenMP specifications v3.0, section 3.2.11.