mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-10 16:32:11 +01:00
19 lines
396 B
TeX
19 lines
396 B
TeX
\pagebreak
|
|
\section{Nested Loop Constructs}
|
|
\label{sec:nested_loop}
|
|
|
|
The following example of loop construct nesting is conforming because the inner
|
|
and outer loop regions bind to different \code{parallel} regions:
|
|
|
|
\cexample{nested_loop}{1}
|
|
|
|
\fexample{nested_loop}{1}
|
|
|
|
The following variation of the preceding example is also conforming:
|
|
|
|
\cexample{nested_loop}{2}
|
|
|
|
\fexample{nested_loop}{2}
|
|
|
|
|