Uses of Class
org.apache.sysds.runtime.instructions.Instruction
Packages that use Instruction
Package
Description
-
Uses of Instruction in org.apache.sysds.api.jmlc
Methods in org.apache.sysds.api.jmlc that return types with arguments of type InstructionModifier and TypeMethodDescriptionstatic 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 InstructionModifier and TypeMethodDescriptionstatic 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 InstructionModifier and TypeMethodDescriptionstatic 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
Methods in org.apache.sysds.hops.recompile that return types with arguments of type InstructionModifier and TypeMethodDescriptionstatic ArrayList<Instruction>Recompiler.recompile(StatementBlock sb, ArrayList<Hop> hops, ExecutionContext ec, RecompileStatus status, boolean inplace, boolean replaceLit, boolean updateStats, boolean forceEt, boolean pred, Types.ExecType et, long tid) Core internal primitive for the dynamic recompilation of any DAGs/predicate, including all variants with slightly different configurations.static ArrayList<Instruction>Recompiler.recompileHopsDag(Hop hop, LocalVariableMap vars, RecompileStatus status, boolean inplace, boolean replaceLit, long tid) static ArrayList<Instruction>Recompiler.recompileHopsDag(StatementBlock sb, ArrayList<Hop> hops, ExecutionContext ec, RecompileStatus status, boolean inplace, boolean replaceLit, long tid) static ArrayList<Instruction>Recompiler.recompileHopsDag(StatementBlock sb, ArrayList<Hop> hops, LocalVariableMap vars, RecompileStatus status, boolean inplace, boolean replaceLit, long tid) static ArrayList<Instruction>Recompiler.recompileHopsDag2Forced(Hop hop, long tid, Types.ExecType et) static ArrayList<Instruction>Recompiler.recompileHopsDag2Forced(StatementBlock sb, ArrayList<Hop> hops, long tid, Types.ExecType et) static ArrayList<Instruction>Recompiler.recompileHopsDagInstructions(Hop hop) static ArrayList<Instruction>Recompiler.recompileHopsDagInstructions(StatementBlock sb, ArrayList<Hop> hops) -
Uses of Instruction in org.apache.sysds.lops.compile
Methods in org.apache.sysds.lops.compile that return types with arguments of type InstructionModifier and TypeMethodDescriptionDag.getJobs(StatementBlock sb, DMLConfig config) Method to compile a dag generically -
Uses of Instruction in org.apache.sysds.resource.cost
Methods in org.apache.sysds.resource.cost with parameters of type InstructionModifier and TypeMethodDescriptiondoubleCostEstimator.getTimeEstimateInst(Instruction inst) voidCostEstimator.maintainStats(Instruction inst) Keep the basic-block variable statistics updated and compute I/O cost. -
Uses of Instruction in org.apache.sysds.runtime.controlprogram
Methods in org.apache.sysds.runtime.controlprogram that return InstructionModifier and TypeMethodDescriptionProgramBlock.getExitInstruction()BasicProgramBlock.getInstruction(int i) Methods in org.apache.sysds.runtime.controlprogram that return types with arguments of type InstructionModifier and TypeMethodDescriptionForProgramBlock.getFromInstructions()ForProgramBlock.getIncrementInstructions()BasicProgramBlock.getInstructions()IfProgramBlock.getPredicate()WhileProgramBlock.getPredicate()ForProgramBlock.getToInstructions()Methods in org.apache.sysds.runtime.controlprogram with parameters of type InstructionModifier and TypeMethodDescriptionvoidBasicProgramBlock.addInstruction(Instruction inst) voidProgramBlock.setExitInstruction(Instruction rmVar) Method parameters in org.apache.sysds.runtime.controlprogram with type arguments of type InstructionModifier and TypeMethodDescriptionvoidBasicProgramBlock.addInstructions(ArrayList<Instruction> inst) ProgramBlock.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 InstructionModifierConstructorDescriptionIfProgramBlock(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 InstructionModifier and TypeMethodDescriptionvoidExecutionContext.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 InstructionModifier and TypeMethodDescriptionvoidFederatedWorkloadAnalyzer.incrementWorkload(ExecutionContext ec, long tid, Instruction ins) -
Uses of Instruction in org.apache.sysds.runtime.controlprogram.parfor.opt
Method parameters in org.apache.sysds.runtime.controlprogram.parfor.opt with type arguments of type InstructionModifier and TypeMethodDescriptionstatic booleanOptTreeConverter.containsSparkInstruction(ArrayList<Instruction> instSet, boolean inclCPFile) -
Uses of Instruction in org.apache.sysds.runtime.instructions
Methods in org.apache.sysds.runtime.instructions that return InstructionModifier and TypeMethodDescriptionstatic Instruction[]InstructionParser.parseMixedInstructions(String str) static InstructionInstructionParser.parseSingleInstruction(String str) Instruction.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 -
Uses of Instruction in org.apache.sysds.runtime.instructions.cp
Subclasses of Instruction in org.apache.sysds.runtime.instructions.cpModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassInstruction to handle a variable number of input operands.classclassclassclassclassclassclassclassclassclassclassEval built-in function instruction Note: it supports only single matrix[double] outputclassfinal classfinal classclassclassfinal classfinal classclassA simple instruction that take whatever input it is and return it as a local matrix.final classclassfinal classclassclassclassclassclassclassclassclassclassclassclassThis class supports two variants of sort operation on a 1-dimensional input matrix.classclassclassfinal classclassThe ScalarBuiltinMultipleCPInstruction class is responsible for printf-style Java-based string formatting.classclassclassclassclassclassclassclassclassclassclassclassMethods in org.apache.sysds.runtime.instructions.cp that return InstructionModifier and TypeMethodDescriptionstatic 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) CPInstruction.preprocessInstruction(ExecutionContext ec) FunctionCallCPInstruction.preprocessInstruction(ExecutionContext ec) -
Uses of Instruction in org.apache.sysds.runtime.instructions.cpfile
Subclasses of Instruction in org.apache.sysds.runtime.instructions.cpfileModifier and TypeClassDescriptionfinal classThis instruction is used if a single partition is too large to fit in memory. -
Uses of Instruction in org.apache.sysds.runtime.instructions.fed
Subclasses of Instruction in org.apache.sysds.runtime.instructions.fedModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassfinal classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods in org.apache.sysds.runtime.instructions.fed that return InstructionModifier and TypeMethodDescriptionstatic 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) Methods in org.apache.sysds.runtime.instructions.fed with parameters of type InstructionModifier and TypeMethodDescriptionstatic 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) -
Uses of Instruction in org.apache.sysds.runtime.instructions.gpu
Subclasses of Instruction in org.apache.sysds.runtime.instructions.gpuModifier and TypeClassDescriptionclassclassImplements aggregate unary instructions for CUDAclassclassclassclassclassclassImplements the cbind and rbind functions for matricesclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods in org.apache.sysds.runtime.instructions.gpu that return Instruction -
Uses of Instruction in org.apache.sysds.runtime.instructions.ooc
Subclasses of Instruction in org.apache.sysds.runtime.instructions.oocModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods in org.apache.sysds.runtime.instructions.ooc that return Instruction -
Uses of Instruction in org.apache.sysds.runtime.instructions.spark
Subclasses of Instruction in org.apache.sysds.runtime.instructions.sparkModifier and TypeClassDescriptionclassClass to group the different MMSPInstructions together.classclassclassclassclassclassclassclassClass to group the different appendSPInstructions together.classclassclassclassclassclassclassclassclassInstruction that performs res = X / rowsum(x)classclassclassclassclassclassclassclassCpmm: cross-product matrix multiplication operation (distributed matrix multiply by join over common dimension and subsequent aggregation of partial results).classclassclassclassclassclassclassclassclassThis class implements the frame indexing functionality inside Spark.classThis class implements the matrix indexing functionality inside Spark.classclassclassclassclassclassThis class implements the matrix indexing functionality inside CP.classclassclassclassThis pmapmm matrix multiplication instruction is still experimental not integrated in automatic operator selection yet.classclassclassThis class supports two variants of sort operation on a 1-dimensional input matrix.classclassclassclassclassclassclassclassclassclassclassclassTwo types of broadcast variables used -- 1.classclassclassclassclassMethods in org.apache.sysds.runtime.instructions.spark that return Instruction -
Uses of Instruction in org.apache.sysds.runtime.lineage
Methods in org.apache.sysds.runtime.lineage with parameters of type InstructionModifier and TypeMethodDescriptionstatic 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) Method parameters in org.apache.sysds.runtime.lineage with type arguments of type InstructionModifier and TypeMethodDescriptionstatic booleanLineageItemUtils.hasValidInsts(ArrayList<Instruction> insts) -
Uses of Instruction in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return InstructionModifier and TypeMethodDescriptionstatic InstructionProgramConverter.cloneInstruction(Instruction oInst, long pid, boolean plain, boolean cpFunctions) Methods in org.apache.sysds.runtime.util that return types with arguments of type InstructionModifier and TypeMethodDescriptionstatic 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 ArrayList<Instruction>ProgramConverter.createShallowCopyInstructionSet(ArrayList<Instruction> insts, long pid) Methods in org.apache.sysds.runtime.util with parameters of type InstructionModifier and TypeMethodDescriptionstatic InstructionProgramConverter.cloneInstruction(Instruction oInst, long pid, boolean plain, boolean cpFunctions) Method parameters in org.apache.sysds.runtime.util with type arguments of type InstructionModifier and TypeMethodDescriptionstatic 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 ArrayList<Instruction>ProgramConverter.createShallowCopyInstructionSet(ArrayList<Instruction> insts, long pid) -
Uses of Instruction in org.apache.sysds.utils
Methods in org.apache.sysds.utils with parameters of type InstructionModifier and TypeMethodDescriptionstatic StringExplain.explain(Instruction inst) static StringStatistics.getCPHeavyHitterCode(Instruction inst) static voidStatistics.maintainNGramsFromLineage(Instruction tmp, ExecutionContext ec, long t0) Method parameters in org.apache.sysds.utils with type arguments of type InstructionModifier and TypeMethodDescriptionstatic StringExplain.explain(List<Instruction> inst) static StringExplain.explain(List<Instruction> inst, int level)