Class IDagLinearizer
java.lang.Object
org.apache.sysds.lops.compile.linearization.IDagLinearizer
- Direct Known Subclasses:
LinearizerBreadthFirst,LinearizerCostBased,LinearizerDepthFirst,LinearizerMaxParallelism,LinearizerMinIntermediates,LinearizerPipelineAware,LinearizerResourceAwareFast,LinearizerResourceAwareOptimal
An interface for the linearization algorithms that order the DAG nodes into a
sequence of instructions to execute.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IDagLinearizer
public IDagLinearizer()
-
-
Method Details
-
linearize
Linearized a DAG of lops into a sequence of lops that preserves all data dependencies.- Parameters:
v- roots (outputs) of a DAG of lops- Returns:
- list of lops (input, inner, and outputs)
-