Package org.apache.sysds.hops.fedplanner
Class FederatedPlannerFedAll
- java.lang.Object
 - 
- org.apache.sysds.hops.fedplanner.AFederatedPlanner
 - 
- org.apache.sysds.hops.fedplanner.FederatedPlannerFedAll
 
 
 
- 
- Direct Known Subclasses:
 FederatedPlannerFedHeuristic
public class FederatedPlannerFedAll extends AFederatedPlanner
Baseline federated planner that compiles all hops that support federated execution on federated inputs to forced federated operations. 
- 
- 
Constructor Summary
Constructors Constructor Description FederatedPlannerFedAll() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrewriteFunctionDynamic(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. 
 - 
 
- 
- 
Method Detail
- 
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
public void rewriteFunctionDynamic(FunctionStatementBlock function, LocalVariableMap funcArgs)
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.
 
 - 
 
 -