omp_get_thread_limit – Maximum number of threads ¶Return the maximal number of threads that are available in the current contention group to execute tasks, i.e. the unidimenional value of the thread-limit-var ICV.
| Prototype: | int omp_get_thread_limit(void); |
| Interface: | integer function omp_get_thread_limit() |
omp_get_thread_limit_dim – Maximum number of threads in a dimension, omp_get_max_threads – Maximum number of threads of parallel region, OMP_THREAD_LIMIT – Set the maximum number of threads
OpenMP specification v4.5, Section 3.2.14.