libgomp: omp_set_schedule
1
1 2.29 'omp_set_schedule' - Set the runtime scheduling method
1 ===========================================================
1
1 _Description_:
1 Sets the runtime scheduling method. The KIND argument can have the
1 value 'omp_sched_static', 'omp_sched_dynamic', 'omp_sched_guided'
1 or 'omp_sched_auto'. Except for 'omp_sched_auto', the chunk size
1 is set to the value of CHUNK_SIZE if positive, or to the default
1 value if zero or negative. For 'omp_sched_auto' the CHUNK_SIZE
1 argument is ignored.
1
1 _C/C++_
1 _Prototype_: 'void omp_set_schedule(omp_sched_t kind, int
1 chunk_size);'
1
1 _Fortran_:
1 _Interface_: 'subroutine omp_set_schedule(kind, chunk_size)'
1 'integer(kind=omp_sched_kind) kind'
1 'integer chunk_size'
1
1 _See also_:
1 ⇒omp_get_schedule ⇒OMP_SCHEDULE
1
1 _Reference_:
1 OpenMP specification v4.5 (http://www.openmp.org/), Section 3.2.12.
1