Package org.apache.sysds.hops.fedplanner
Class AFederatedPlanner
java.lang.Object
org.apache.sysds.hops.fedplanner.AFederatedPlanner
- Direct Known Subclasses:
FederatedPlannerFedAll,FederatedPlannerFedCostBased
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidrewriteFunctionDynamic(FunctionStatementBlock function, LocalVariableMap funcArgs) Selects a federated execution plan for the given function, taking into account federation types of the arguments.abstract voidrewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) Selects a federated execution plan for the given program by setting the forced execution type.
-
Constructor Details
-
AFederatedPlanner
public AFederatedPlanner()
-
-
Method Details
-
rewriteProgram
public abstract void rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) Selects a federated execution plan for the given program by setting the forced execution type.- Parameters:
prog- dml programfgraph- function call graphfcallSizes- function call graph sizes
-
rewriteFunctionDynamic
public abstract void rewriteFunctionDynamic(FunctionStatementBlock function, LocalVariableMap funcArgs) Selects a federated execution plan for the given function, taking into account federation types of the arguments.- Parameters:
function- The function statement block to recompile.funcArgs- The function arguments.
-