HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.14  omp_get_thread_limit

SummaryThe omp_get_thread_limit routine returns the maximum number of OpenMP threads available to participate in the current contention group.

Format

SVG-Viewer needed.

 

 
int omp_get_thread_limit(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_get_thread_limit()  

SVG-Viewer needed.

BindingThe binding thread set for an omp_get_thread_limit region is all threads on the device. The effect of executing this routine is not related to any specific region corresponding to any construct or API routine.

EffectThe omp_get_thread_limit routine returns the value of the thread-limit-var ICV.

Cross References