Class TaskPartitionerStatic


  • public class TaskPartitionerStatic
    extends TaskPartitionerFixedsize
    This static task partitioner virtually iterates over the given FOR loop (from, to, incr), creates iterations and group them to tasks according to a task size of numIterations/numWorkers. There, all tasks are equally sized.
    • Constructor Detail

      • TaskPartitionerStatic

        public TaskPartitionerStatic​(long taskSize,
                                     int numThreads,
                                     String iterVarName,
                                     IntObject fromVal,
                                     IntObject toVal,
                                     IntObject incrVal)