edu.rit.pj
Class ParallelForLoop
- java.lang.Object
-
- edu.rit.pj.ParallelConstruct
-
- edu.rit.pj.ParallelForLoop
-
- Direct Known Subclasses:
- IntegerForLoop, IntegerStrideForLoop, LongForLoop, LongStrideForLoop
public abstract class ParallelForLoop extends ParallelConstruct
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.
-
-
Constructor Summary
Constructors Constructor and Description ParallelForLoop()Construct a new parallel for loop.
-
Method Summary
-
Methods inherited from class edu.rit.pj.ParallelConstruct
getThreadCount, getThreadIndex, isExecutingInParallel, region, team
-
-
DMelt 3.0 © DataMelt by jWork.ORG