OpenMP-Examples/Examples_ploop.tex
2015-01-13 11:38:24 -08:00

12 lines
330 B
TeX

\chapter{A Simple Parallel Loop}
\label{chap:ploop}
The following example demonstrates how to parallelize a simple loop using the parallel
loop construct. The loop iteration variable is private by default, so it is not
necessary to specify it explicitly in a \code{private} clause.
\cexample{ploop}{1c}
\fexample{ploop}{1f}