mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-07 23:22:11 +01:00
15 lines
446 B
TeX
15 lines
446 B
TeX
\pagebreak
|
|
\section{Controlling the Number of Threads on Multiple Nesting Levels}
|
|
\label{sec:nthrs_nesting}
|
|
\index{environment variables!OMP_NUM_THREADS@\scode{OMP_NUM_THREADS}}
|
|
\index{OMP_NUM_THREADS@\scode{OMP_NUM_THREADS}}
|
|
|
|
The following examples demonstrate how to use the \code{OMP\_NUM\_THREADS} environment
|
|
variable to control the number of threads on multiple nesting levels:
|
|
|
|
\cexample{nthrs_nesting}{1}
|
|
|
|
\fexample{nthrs_nesting}{1}
|
|
|
|
|