void omp_get_schedule(omp_sched_t *kind, int *chunk_size);
Summary The omp_get_schedule routine returns the schedule that is applied when the runtime schedule is used.
Binding The binding task set for an omp_get_schedule region is the generating task.
Effect This 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.11, 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.