mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-04 05:41:33 +01:00
19 lines
401 B
TeX
19 lines
401 B
TeX
\pagebreak
|
|
\chapter{Nested Loop Constructs}
|
|
\label{chap: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}{1c}
|
|
|
|
\fexample{nested_loop}{1f}
|
|
|
|
The following variation of the preceding example is also conforming:
|
|
|
|
\cexample{nested_loop}{2c}
|
|
|
|
\fexample{nested_loop}{2f}
|
|
|
|
|