Uses of Class
org.apache.sysds.runtime.controlprogram.Program
-
-
Uses of Program in org.apache.sysds.api
Methods in org.apache.sysds.api with parameters of type Program Modifier and Type Method Description static voidScriptExecutorUtils. executeRuntimeProgram(Program rtprog, ExecutionContext ec, DMLConfig dmlconf, int statisticsMaxHeavyHitters, Set<String> outputVariables)Execute the runtime program. -
Uses of Program in org.apache.sysds.api.jmlc
Methods in org.apache.sysds.api.jmlc with parameters of type Program Modifier and Type Method Description static voidJMLCUtils. cleanupRuntimeProgram(Program prog, String[] outputs)Removes rmvar instructions that would remove any of the given outputs. -
Uses of Program in org.apache.sysds.api.mlcontext
Methods in org.apache.sysds.api.mlcontext that return Program Modifier and Type Method Description ProgramScriptExecutor. getRuntimeProgram()Obtain the runtime programMethods in org.apache.sysds.api.mlcontext with parameters of type Program Modifier and Type Method Description static voidMLContextUtil. deleteRemoveVariableInstructions(Program progam)Delete the 'remove variable' instructions from a runtime program. -
Uses of Program in org.apache.sysds.hops.codegen
Methods in org.apache.sysds.hops.codegen with parameters of type Program Modifier and Type Method Description static voidSpoofCompiler. generateCode(Program rtprog) -
Uses of Program in org.apache.sysds.hops.cost
Methods in org.apache.sysds.hops.cost with parameters of type Program Modifier and Type Method Description static doubleCostEstimationWrapper. getTimeEstimate(Program rtprog, ExecutionContext ec)doubleCostEstimator. getTimeEstimate(Program rtprog, LocalVariableMap vars, HashMap<String,VarStats> stats) -
Uses of Program in org.apache.sysds.parser
Methods in org.apache.sysds.parser that return Program Modifier and Type Method Description ProgramDMLTranslator. getRuntimeProgram(DMLProgram prog, DMLConfig config)Methods in org.apache.sysds.parser with parameters of type Program Modifier and Type Method Description voidDMLTranslator. codgenHopsDAG(Program rtprog)ProgramBlockDMLTranslator. createRuntimeProgramBlock(Program prog, StatementBlock sb, DMLConfig config) -
Uses of Program in org.apache.sysds.runtime.controlprogram
Methods in org.apache.sysds.runtime.controlprogram that return Program Modifier and Type Method Description ProgramProgram. clone(boolean deep)ProgramProgramBlock. getProgram()Methods in org.apache.sysds.runtime.controlprogram with parameters of type Program Modifier and Type Method Description voidProgramBlock. setProgram(Program prog)Constructors in org.apache.sysds.runtime.controlprogram with parameters of type Program Constructor Description BasicProgramBlock(Program prog)ForProgramBlock(Program prog, String iterPredVar)FunctionProgramBlock(Program prog, List<DataIdentifier> inputParams, List<DataIdentifier> outputParams)IfProgramBlock(Program prog, ArrayList<Instruction> predicate)ParForProgramBlock(int ID, Program prog, String iterPredVar, HashMap<String,String> params, ArrayList<ParForStatementBlock.ResultVar> resultVars)ParForProgramBlock constructor.ParForProgramBlock(Program prog, String iterPredVar, HashMap<String,String> params, ArrayList<ParForStatementBlock.ResultVar> resultVars)ProgramBlock(Program prog)WhileProgramBlock(Program prog, ArrayList<Instruction> predicate) -
Uses of Program in org.apache.sysds.runtime.controlprogram.context
Methods in org.apache.sysds.runtime.controlprogram.context that return Program Modifier and Type Method Description ProgramExecutionContext. getProgram()Methods in org.apache.sysds.runtime.controlprogram.context with parameters of type Program Modifier and Type Method Description static ExecutionContextExecutionContextFactory. createContext(boolean allocateVars, boolean allocateLineage, Program prog)static ExecutionContextExecutionContextFactory. createContext(boolean allocateVars, Program prog)static ExecutionContextExecutionContextFactory. createContext(LocalVariableMap vars, Program prog)static ExecutionContextExecutionContextFactory. createContext(Program prog)voidExecutionContext. setProgram(Program prog) -
Uses of Program in org.apache.sysds.runtime.controlprogram.parfor.opt
Methods in org.apache.sysds.runtime.controlprogram.parfor.opt with parameters of type Program Modifier and Type Method Description static ArrayList<ProgramBlock>ProgramRecompiler. generatePartitialRuntimeProgram(Program rtprog, ArrayList<StatementBlock> sbs)voidOptTreePlanMappingAbstract. putRootProgram(DMLProgram prog, Program rtprog) -
Uses of Program in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return Program Modifier and Type Method Description static ProgramProgramConverter. parseProgram(String in, int id)Methods in org.apache.sysds.runtime.util with parameters of type Program Modifier and Type Method Description static ForProgramBlockProgramConverter. createDeepCopyForProgramBlock(ForProgramBlock fpb, long pid, int IDPrefix, Program prog, Set<String> fnStack, Set<String> fnCreated, boolean plain, boolean forceDeepCopy)static voidProgramConverter. createDeepCopyFunctionProgramBlock(String namespace, String oldName, long pid, int IDPrefix, Program prog, Set<String> fnStack, Set<String> fnCreated, boolean plain)This creates a deep copy of a function program block.static IfProgramBlockProgramConverter. createDeepCopyIfProgramBlock(IfProgramBlock ipb, long pid, int IDPrefix, Program prog, Set<String> fnStack, Set<String> fnCreated, boolean plain, boolean forceDeepCopy)static ArrayList<Instruction>ProgramConverter. createDeepCopyInstructionSet(ArrayList<Instruction> instSet, long pid, int IDPrefix, Program prog, Set<String> fnStack, Set<String> fnCreated, boolean plain, boolean cpFunctions)Creates a deep copy of an array of instructions and replaces the placeholders of parworker IDs with the concrete IDs of this parfor instance.static ParForProgramBlockProgramConverter. createDeepCopyParForProgramBlock(ParForProgramBlock pfpb, long pid, int IDPrefix, Program prog, Set<String> fnStack, Set<String> fnCreated, boolean plain, boolean forceDeepCopy)static WhileProgramBlockProgramConverter. createDeepCopyWhileProgramBlock(WhileProgramBlock wpb, long pid, int IDPrefix, Program prog, Set<String> fnStack, Set<String> fnCreated, boolean plain, boolean forceDeepCopy)static ForProgramBlockProgramConverter. createShallowCopyForProgramBlock(ForProgramBlock fpb, Program prog)static StringProgramConverter. serializeProgram(Program prog, ArrayList<ProgramBlock> pbs, HashMap<String,byte[]> clsMap) -
Uses of Program in org.apache.sysds.utils
Methods in org.apache.sysds.utils with parameters of type Program Modifier and Type Method Description static Explain.ExplainCountsExplain. countDistributedOperations(Program rtprog)Counts the number of compiled MRJob/Spark instructions in the given runtime program.static StringExplain. display(DMLProgram prog, Program rtprog, Explain.ExplainType type, Explain.ExplainCounts counts)static StringExplain. explain(DMLProgram prog, Program rtprog, Explain.ExplainType type)static StringExplain. explain(DMLProgram prog, Program rtprog, Explain.ExplainType type, Explain.ExplainCounts counts)static StringExplain. explain(Program rtprog)static StringExplain. explain(Program rtprog, Explain.ExplainCounts counts)
-