Package org.apache.sysds.hops.fedplanner
Class FederatedPlannerFedCostBased
java.lang.Object
org.apache.sysds.hops.fedplanner.AFederatedPlanner
org.apache.sysds.hops.fedplanner.FederatedPlannerFedCostBased
Baseline federated planner that compiles all hops
that support federated execution on federated inputs to
forced federated operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrewriteFunctionDynamic(FunctionStatementBlock function, LocalVariableMap funcArgs) Selects a federated execution plan for the given function, taking into account federation types of the arguments.voidrewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) Selects a federated execution plan for the given program by setting the forced execution type.
-
Constructor Details
-
FederatedPlannerFedCostBased
public FederatedPlannerFedCostBased()
-
-
Method Details
-
rewriteProgram
public void rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes) Description copied from class:AFederatedPlannerSelects a federated execution plan for the given program by setting the forced execution type.- Specified by:
rewriteProgramin classAFederatedPlanner- Parameters:
prog- dml programfgraph- function call graphfcallSizes- function call graph sizes
-
rewriteFunctionDynamic
Description copied from class:AFederatedPlannerSelects a federated execution plan for the given function, taking into account federation types of the arguments.- Specified by:
rewriteFunctionDynamicin classAFederatedPlanner- Parameters:
function- The function statement block to recompile.funcArgs- The function arguments.
-