int omp_get_thread_limit(void);
SummaryThe omp_get_thread_limit routine returns the maximum number of OpenMP threads available to participate in the current contention group.
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.