Package edu.rit.pj
Class ParallelForLoop
java.lang.Object
edu.rit.pj.ParallelConstruct
edu.rit.pj.ParallelForLoop
- Direct Known Subclasses:
IntegerForLoop
,IntegerStrideForLoop
,LongForLoop
,LongStrideForLoop
Class ParallelForLoop is the abstract base class for a parallel for loop that
is executed inside a ParallelRegion. There are four variations
of a parallel for loop, depending on the loop index data type and on whether
the loop stride is implicit or explicit. There is a subclass for each
variation; see the subclasses for further information. The subclasses are:
-
Class IntegerForLoop -- loop index is type
int
, loop stride is implicit (+1).
-
Class IntegerStrideForLoop -- loop index is type
int
, loop stride is explicitly specified.
-
Class LongForLoop -- loop index is type
long
, loop stride is implicit (+1).
-
Class LongStrideForLoop -- loop index is type
long
, loop stride is explicitly specified.
- Version:
- 31-May-2007
- Author:
- Alan Kaminsky
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.rit.pj.ParallelConstruct
getThreadCount, getThreadIndex, isExecutingInParallel, region, team
-
Constructor Details
-
ParallelForLoop
public ParallelForLoop()Construct a new parallel for loop.
-