HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.13  omp_get_schedule

SummaryThe omp_get_schedule routine returns the schedule that is applied when the runtime schedule is used.

Format

SVG-Viewer needed.

 

 
void omp_get_schedule(omp_sched_t *kind, int *chunk_size);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
subroutine omp_get_schedule(kind, chunk_size) 
integer (kind=omp_sched_kind) kind 
integer chunk_size  

SVG-Viewer needed.

BindingThe binding task set for an omp_get_schedule region is the generating task.

EffectThis routine returns the run-sched-var ICV in the task to which the routine binds. The first argument kind returns the schedule to be used. It can be any of the standard schedule kinds as defined in Section 3.2.12 on page 1058, or any implementation specific schedule kind. The second argument chunk_size returns the chunk size to be used, or a value less than 1 if the default chunk size is to be used, if the returned schedule kind is static, dynamic, or guided. The value returned by the second argument is implementation defined for any other schedule kinds.

Cross References