mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-07 15:12:11 +01:00
15 lines
452 B
TeX
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@\kcode{OMP_NUM_THREADS}}
|
|
\index{OMP_NUM_THREADS@\kcode{OMP_NUM_THREADS}}
|
|
|
|
The following examples demonstrate how to use the \kcode{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]
|
|
|
|
|