2022-11-04 09:35:42 -07:00

15 lines
452 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}[1]
\fexample{nthrs_nesting}{1}[1]