Class OOCInstruction
java.lang.Object
org.apache.sysds.runtime.instructions.Instruction
org.apache.sysds.runtime.instructions.ooc.OOCInstruction
- Direct Known Subclasses:
ComputationOOCInstruction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTracks blocks and their counts to enable early emission once all blocks for a given index are processed.static enumNested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.Instruction
Instruction.IType -
Field Summary
FieldsFields inherited from class org.apache.sysds.runtime.instructions.Instruction
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OOC_INST_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic intgetType()voidThis method should be used for any tear down after executing this instruction.This method should be used for any setup before executing this instruction.abstract voidThis method should be used to execute the instruction.booleanMethods inherited from class org.apache.sysds.runtime.instructions.Instruction
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, toString, updateInstructionThreadID
-
Field Details
-
ALLOW_PIPELINING
public static final boolean ALLOW_PIPELINING- See Also:
-
COMPUTE_EXECUTOR
-
_callerId
public final int _callerId
-
-
Method Details
-
getComputeInFlight
public static int getComputeInFlight() -
getComputeBackpressureThreshold
public static int getComputeBackpressureThreshold() -
getType
- Specified by:
getTypein classInstruction
-
getOOCInstructionType
-
requiresLabelUpdate
public boolean requiresLabelUpdate()- Overrides:
requiresLabelUpdatein classInstruction
-
getGraphString
- Overrides:
getGraphStringin classInstruction
-
preprocessInstruction
Description copied from class:InstructionThis method should be used for any setup before executing this instruction. Overwriting methods should first call the super method and subsequently do their custom setup.- Overrides:
preprocessInstructionin classInstruction- Parameters:
ec- execution context- Returns:
- instruction
-
processInstruction
Description copied from class:InstructionThis method should be used to execute the instruction.- Specified by:
processInstructionin classInstruction- Parameters:
ec- execution context
-
postprocessInstruction
Description copied from class:InstructionThis method should be used for any tear down after executing this instruction. Overwriting methods should first do their custom tear down and subsequently call the super method.- Overrides:
postprocessInstructionin classInstruction- Parameters:
ec- execution context
-