Uses of Class
org.apache.sysds.runtime.instructions.Instruction
-
-
Uses of Instruction in org.apache.sysds.api.jmlc
Methods in org.apache.sysds.api.jmlc that return types with arguments of type Instruction Modifier and Type Method Description static ArrayList<Instruction>JMLCUtils. cleanupRuntimeInstructions(ArrayList<Instruction> insts, String... outputs)Cleanup runtime instructions, removing rmvar instructions for any of the given output variable names.static ArrayList<Instruction>JMLCUtils. cleanupRuntimeInstructions(ArrayList<Instruction> insts, HashSet<String> outputs)Cleanup runtime instructions, removing rmvar instructions for any of the given output variable names.Method parameters in org.apache.sysds.api.jmlc with type arguments of type Instruction Modifier and Type Method Description static ArrayList<Instruction>JMLCUtils. cleanupRuntimeInstructions(ArrayList<Instruction> insts, String... outputs)Cleanup runtime instructions, removing rmvar instructions for any of the given output variable names.static ArrayList<Instruction>JMLCUtils. cleanupRuntimeInstructions(ArrayList<Instruction> insts, HashSet<String> outputs)Cleanup runtime instructions, removing rmvar instructions for any of the given output variable names. -
Uses of Instruction in org.apache.sysds.hops.codegen
Methods in org.apache.sysds.hops.codegen that return types with arguments of type Instruction Modifier and Type Method Description static ArrayList<Instruction>SpoofCompiler. generateCodeFromHopDAGsToInst(Hop root)static ArrayList<Instruction>SpoofCompiler. generateCodeFromHopDAGsToInst(StatementBlock sb, ArrayList<Hop> roots) -
Uses of Instruction in org.apache.sysds.hops.recompile
-
Uses of Instruction in org.apache.sysds.lops.compile
Methods in org.apache.sysds.lops.compile that return types with arguments of type Instruction Modifier and Type Method Description ArrayList<Instruction>Dag. getJobs(StatementBlock sb, DMLConfig config)Method to compile a dag generically -
Uses of Instruction in org.apache.sysds.runtime.controlprogram
Methods in org.apache.sysds.runtime.controlprogram that return Instruction Modifier and Type Method Description InstructionProgramBlock. getExitInstruction()InstructionBasicProgramBlock. getInstruction(int i)Methods in org.apache.sysds.runtime.controlprogram that return types with arguments of type Instruction Modifier and Type Method Description ArrayList<Instruction>ForProgramBlock. getFromInstructions()ArrayList<Instruction>ForProgramBlock. getIncrementInstructions()ArrayList<Instruction>BasicProgramBlock. getInstructions()ArrayList<Instruction>IfProgramBlock. getPredicate()ArrayList<Instruction>WhileProgramBlock. getPredicate()ArrayList<Instruction>ForProgramBlock. getToInstructions()Methods in org.apache.sysds.runtime.controlprogram with parameters of type Instruction Modifier and Type Method Description voidBasicProgramBlock. addInstruction(Instruction inst)voidProgramBlock. setExitInstruction(Instruction rmVar)Method parameters in org.apache.sysds.runtime.controlprogram with type arguments of type Instruction Modifier and Type Method Description voidBasicProgramBlock. addInstructions(ArrayList<Instruction> inst)ScalarObjectProgramBlock. executePredicate(ArrayList<Instruction> inst, Hop hops, boolean requiresRecompile, Types.ValueType retType, ExecutionContext ec)Executes given predicate instructions (incl recompilation if required)voidForProgramBlock. setFromInstructions(ArrayList<Instruction> instructions)voidForProgramBlock. setIncrementInstructions(ArrayList<Instruction> instructions)voidBasicProgramBlock. setInstructions(ArrayList<Instruction> inst)voidIfProgramBlock. setPredicate(ArrayList<Instruction> predicate)voidWhileProgramBlock. setPredicate(ArrayList<Instruction> predicate)voidForProgramBlock. setToInstructions(ArrayList<Instruction> instructions)Constructor parameters in org.apache.sysds.runtime.controlprogram with type arguments of type Instruction Constructor Description IfProgramBlock(Program prog, ArrayList<Instruction> predicate)WhileProgramBlock(Program prog, ArrayList<Instruction> predicate) -
Uses of Instruction in org.apache.sysds.runtime.controlprogram.context
Methods in org.apache.sysds.runtime.controlprogram.context with parameters of type Instruction Modifier and Type Method Description voidExecutionContext. maintainLineageDebuggerInfo(Instruction inst)voidExecutionContext. traceLineage(Instruction inst) -
Uses of Instruction in org.apache.sysds.runtime.controlprogram.federated
Methods in org.apache.sysds.runtime.controlprogram.federated with parameters of type Instruction Modifier and Type Method Description voidFederatedWorkloadAnalyzer. incrementWorkload(ExecutionContext ec, long tid, Instruction ins) -
Uses of Instruction in org.apache.sysds.runtime.controlprogram.parfor.opt
Methods in org.apache.sysds.runtime.controlprogram.parfor.opt with parameters of type Instruction Modifier and Type Method Description static OptNodeOptTreeConverter. createOptNode(Instruction inst, LocalVariableMap vars, OptTreePlanMappingRuntime rtMap, boolean storeObjs)longOptTreePlanMappingRuntime. putMapping(Instruction inst, OptNode n)Method parameters in org.apache.sysds.runtime.controlprogram.parfor.opt with type arguments of type Instruction Modifier and Type Method Description static booleanOptTreeConverter. containsSparkInstruction(ArrayList<Instruction> instSet, boolean inclCPFile)static ArrayList<OptNode>OptTreeConverter. createOptNodes(ArrayList<Instruction> instset, LocalVariableMap vars, OptTreePlanMappingRuntime rtMap, boolean storeObjs) -
Uses of Instruction in org.apache.sysds.runtime.instructions
Methods in org.apache.sysds.runtime.instructions that return Instruction Modifier and Type Method Description static Instruction[]InstructionParser. parseMixedInstructions(String str)static InstructionInstructionParser. parseSingleInstruction(String str)InstructionInstruction. preprocessInstruction(ExecutionContext ec)This method should be used for any setup before executing this instruction.Methods in org.apache.sysds.runtime.instructions with parameters of type Instruction Modifier and Type Method Description voidInstruction. setLocation(Instruction oldInst) -
Uses of Instruction in org.apache.sysds.runtime.instructions.cp
Methods in org.apache.sysds.runtime.instructions.cp that return Instruction Modifier and Type Method Description static InstructionVariableCPInstruction. prepareCopyInstruction(String srcVar, String destVar)static InstructionVariableCPInstruction. prepareRemoveInstruction(long... varName)static InstructionVariableCPInstruction. prepareRemoveInstruction(String... varNames)static InstructionVariableCPInstruction. prepCreatevarInstruction(String varName, String fileName, boolean fNameOverride, String format)static InstructionVariableCPInstruction. prepCreatevarInstruction(String varName, String fileName, boolean fNameOverride, Types.DataType dt, String format, DataCharacteristics mc, MatrixObject.UpdateType update)static InstructionVariableCPInstruction. prepCreatevarInstruction(String varName, String fileName, boolean fNameOverride, Types.DataType dt, String format, DataCharacteristics mc, MatrixObject.UpdateType update, boolean hasHeader, String delim, boolean sparse)static InstructionVariableCPInstruction. prepMoveInstruction(String srcVar, String destVar)static InstructionVariableCPInstruction. prepMoveInstruction(String srcVar, String destFileName, String format)InstructionCPInstruction. preprocessInstruction(ExecutionContext ec)InstructionFunctionCallCPInstruction. preprocessInstruction(ExecutionContext ec) -
Uses of Instruction in org.apache.sysds.runtime.instructions.cpfile
Subclasses of Instruction in org.apache.sysds.runtime.instructions.cpfile Modifier and Type Class Description classMatrixIndexingCPFileInstructionThis instruction is used if a single partition is too large to fit in memory. -
Uses of Instruction in org.apache.sysds.runtime.instructions.fed
Methods in org.apache.sysds.runtime.instructions.fed that return Instruction Modifier and Type Method Description static InstructionFEDInstructionUtils. checkAndReplaceCP(Instruction inst, ExecutionContext ec)Check and replace CP instructions with federated instructions if the instruction match criteria.static InstructionFEDInstructionUtils. checkAndReplaceSP(Instruction inst, ExecutionContext ec)InstructionFEDInstruction. preprocessInstruction(ExecutionContext ec)Methods in org.apache.sysds.runtime.instructions.fed with parameters of type Instruction Modifier and Type Method Description static InstructionFEDInstructionUtils. checkAndReplaceCP(Instruction inst, ExecutionContext ec)Check and replace CP instructions with federated instructions if the instruction match criteria.static InstructionFEDInstructionUtils. checkAndReplaceSP(Instruction inst, ExecutionContext ec)static AppendFEDInstructionAppendFEDInstruction. parseInstruction(Instruction inst)static CentralMomentFEDInstructionCentralMomentFEDInstruction. parseInstruction(Instruction inst)static CovarianceFEDInstructionCovarianceFEDInstruction. parseInstruction(Instruction inst)static QuantilePickFEDInstructionQuantilePickFEDInstruction. parseInstruction(Instruction inst) -
Uses of Instruction in org.apache.sysds.runtime.instructions.gpu
Subclasses of Instruction in org.apache.sysds.runtime.instructions.gpu Modifier and Type Class Description classAggregateBinaryGPUInstructionclassAggregateUnaryGPUInstructionImplements aggregate unary instructions for CUDAclassArithmeticBinaryGPUInstructionclassBuiltinBinaryGPUInstructionclassBuiltinUnaryGPUInstructionclassDnnGPUInstructionclassGPUInstructionclassMatrixAppendGPUInstructionImplements the cbind and rbind functions for matricesclassMatrixBuiltinGPUInstructionclassMatrixIndexingGPUInstructionclassMatrixMatrixArithmeticGPUInstructionclassMatrixMatrixAxpyGPUInstructionclassMatrixMatrixBuiltinGPUInstructionclassMatrixMatrixRelationalBinaryGPUInstructionclassMatrixReshapeGPUInstructionclassMMTSJGPUInstructionclassRelationalBinaryGPUInstructionclassReorgGPUInstructionclassScalarMatrixArithmeticGPUInstructionclassScalarMatrixBuiltinGPUInstructionclassScalarMatrixRelationalBinaryGPUInstructionclassSpoofCUDAInstructionMethods in org.apache.sysds.runtime.instructions.gpu that return Instruction Modifier and Type Method Description InstructionGPUInstruction. preprocessInstruction(ExecutionContext ec) -
Uses of Instruction in org.apache.sysds.runtime.instructions.spark
Methods in org.apache.sysds.runtime.instructions.spark that return Instruction Modifier and Type Method Description InstructionSPInstruction. preprocessInstruction(ExecutionContext ec) -
Uses of Instruction in org.apache.sysds.runtime.lineage
Methods in org.apache.sysds.runtime.lineage with parameters of type Instruction Modifier and Type Method Description static booleanLineageRewriteReuse. executeRewrites(Instruction curr, ExecutionContext ec)static booleanLineageCacheConfig. isOutputFederated(Instruction inst, Data data)static booleanLineageCacheConfig. isReusable(Instruction inst, ExecutionContext ec)static voidLineageDebugger. maintainSpecialValueBits(Lineage lineage, Instruction inst, ExecutionContext ec)static voidLineageEstimator. processSingleInst(Instruction inst, ExecutionContext ec, long starttime)static voidLineageCache. putMatrix(Instruction inst, ExecutionContext ec, long computetime)static voidLineageCache. putValue(Instruction inst, ExecutionContext ec, long starttime)static booleanLineageCache. reuse(Instruction inst, ExecutionContext ec)voidLineage. trace(Instruction inst, ExecutionContext ec)voidLineageMap. trace(Instruction inst, ExecutionContext ec) -
Uses of Instruction in org.apache.sysds.runtime.privacy.propagation
Methods in org.apache.sysds.runtime.privacy.propagation that return Instruction Modifier and Type Method Description static InstructionPrivacyPropagator. preprocessInstruction(Instruction inst, ExecutionContext ec)Propagate privacy constraints from input to output CPOperands in case the privacy constraints of the input are activated.Methods in org.apache.sysds.runtime.privacy.propagation with parameters of type Instruction Modifier and Type Method Description static voidPrivacyPropagator. postProcessInstruction(Instruction inst, ExecutionContext ec)Propagate privacy constraints to output variables based on privacy constraint of CPOperand output in instruction which has been set during privacy propagation preprocessing.static InstructionPrivacyPropagator. preprocessInstruction(Instruction inst, ExecutionContext ec)Propagate privacy constraints from input to output CPOperands in case the privacy constraints of the input are activated. -
Uses of Instruction in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return Instruction Modifier and Type Method Description static InstructionProgramConverter. cloneInstruction(Instruction oInst, long pid, boolean plain, boolean cpFunctions)Methods in org.apache.sysds.runtime.util that return types with arguments of type Instruction Modifier and Type Method Description 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.Methods in org.apache.sysds.runtime.util with parameters of type Instruction Modifier and Type Method Description static InstructionProgramConverter. cloneInstruction(Instruction oInst, long pid, boolean plain, boolean cpFunctions)Method parameters in org.apache.sysds.runtime.util with type arguments of type Instruction Modifier and Type Method Description 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. -
Uses of Instruction in org.apache.sysds.utils
Methods in org.apache.sysds.utils with parameters of type Instruction Modifier and Type Method Description static StringExplain. explain(Instruction inst)static StringStatistics. getCPHeavyHitterCode(Instruction inst)Method parameters in org.apache.sysds.utils with type arguments of type Instruction Modifier and Type Method Description static StringExplain. explain(ArrayList<Instruction> inst)static StringExplain. explain(ArrayList<Instruction> inst, int level)
-