int omp_get_max_task_priority(void);
Summary The omp_get_max_task_priority routine returns the maximum value that can be specified in the priority clause.
Binding The binding thread set for an omp_get_max_task_priority region is all threads on the device. The effect of executing this routine is not related to any specific region that corresponds to any construct or API routine.
Effect The omp_get_max_task_priority routine returns the value of the max-task-priority-var ICV, which determines the maximum value that can be specified in the priority clause.