edu.rit.pj.test
Class Test09
- java.lang.Object
-
- edu.rit.pj.test.Test09
-
public class Test09 extends java.lang.ObjectClass Test09 is a unit test main program for classes ParallelTeam, ParallelRegion, and LongForLoop. A parallel for loop iterates over a given range of indexes, using type long for the loop index. Each iteration prints the loop index and the thread index executing that loop index.Usage: java [ -Dpj.nt=K ] [ -Dpj.schedule=schedule ] edu.rit.pj.test.Test09 lb ub stride wait
K = Number of parallel threads
schedule = Parallel for loop schedule
lb = Loop index lower bound, inclusive
ub = Loop index upper bound, inclusive
stride = Loop stride
wait = Wait option, WAIT or NO_WAIT
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)Unit test main program.
-
DMelt 3.0 © DataMelt by jWork.ORG