public class Test04 extends Task
parallelFor(long,long)method of class Task.
Usage: java pj2 edu.rit.pj2.test.Test04 lb ub reps
A thread team executes a parallel for loop with the given lower and upper bounds. The program records and prints which loop iterations were executed by which threads. This is repeated reps times.
|Constructor and Description|
|Modifier and Type||Method and Description|
Perform this task's computation.
actualThreads, addTupleListener, chunk, chunk, cores, cores, coresRequired, getJobWorkQueue, getMatchingTuple, gpus, gpus, gpusRequired, groupSize, initialChunk, initialSchedule, initialThreads, matchingTupleCount, nodeName, nodeName, nodeNameRequired, parallelDo, parallelDo, parallelFor, parallelFor, parallelFor, putTuple, putTuple, readTuple, schedule, schedule, takeTuple, taskRank, terminate, threads, threads, tryToReadTuple, tryToTakeTuple, workerFor
Copyright © 2013–2018 by Alan Kaminsky. All rights reserved. Send comments to email@example.com.