# Uses of Class
org.apache.sysds.runtime.controlprogram.parfor.TaskPartitioner

Packages that use TaskPartitioner
Package
Description
org.apache.sysds.runtime.controlprogram.parfor

## Uses of TaskPartitioner in org.apache.sysds.runtime.controlprogram.parfor

Subclasses of TaskPartitioner in org.apache.sysds.runtime.controlprogram.parfor
Modifier and Type
Class
Description
`class`
`TaskPartitionerFactoring`
This factoring task partitioner virtually iterates over the given FOR loop (from, to, incr), creates iterations and group them to tasks.
`class`
`TaskPartitionerFactoringCmax`
Factoring with maximum constraint (e.g., if LIX matrix out-of-core and we need to bound the maximum number of iterations per map task -> memory bounds)
`class`
`TaskPartitionerFactoringCmin`
Factoring with minimum constraint (e.g., if communication is expensive)
`class`
`TaskPartitionerFixedsize`
This naive task partitioner virtually iterates over the given FOR loop (from, to, incr), creates iterations and group them to tasks according to the given task size.
`class`
`TaskPartitionerNaive`
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.
`class`
`TaskPartitionerStatic`
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.
Methods in org.apache.sysds.runtime.controlprogram.parfor that return TaskPartitioner
Modifier and Type
Method
Description
`static TaskPartitioner`
TaskPartitionerFactory.`createTaskPartitioner(ParForProgramBlock.PTaskPartitioner type, IntObject from, IntObject to, IntObject incr, long taskSize, int numThreads, String iterPredVar)`