public abstract class SPInstruction extends Instruction
| Modifier and Type | Class and Description |
|---|---|
static class |
SPInstruction.SPINSTRUCTION_TYPE |
Instruction.INSTRUCTION_TYPE| Modifier and Type | Field and Description |
|---|---|
protected org.apache.sysml.runtime.matrix.operators.Operator |
_optr |
protected boolean |
_requiresLabelUpdate |
protected SPInstruction.SPINSTRUCTION_TYPE |
_sptype |
beginCol, beginLine, DATATYPE_PREFIX, endCol, endLine, filename, GPU_INST_PREFIX, instOpcode, INSTRUCTION_DELIM, instString, LITERAL_PREFIX, LOG, OPERAND_DELIM, SP_INST_PREFIX, type, VALUETYPE_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
SPInstruction(org.apache.sysml.runtime.matrix.operators.Operator op,
String opcode,
String istr) |
protected |
SPInstruction(String opcode,
String istr) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphString() |
SPInstruction.SPINSTRUCTION_TYPE |
getSPInstructionType() |
void |
postprocessInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used for any tear down after executing this instruction.
|
Instruction |
preprocessInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used for any setup before executing this instruction.
|
abstract void |
processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used to execute the instruction.
|
boolean |
requiresLabelUpdate() |
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getLineNum, getOpcode, getType, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setType, toString, updateInstructionThreadIDprotected SPInstruction.SPINSTRUCTION_TYPE _sptype
protected org.apache.sysml.runtime.matrix.operators.Operator _optr
protected boolean _requiresLabelUpdate
public SPInstruction.SPINSTRUCTION_TYPE getSPInstructionType()
public boolean requiresLabelUpdate()
requiresLabelUpdate in class Instructionpublic String getGraphString()
getGraphString in class Instructionpublic Instruction preprocessInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec) throws DMLRuntimeException
InstructionpreprocessInstruction in class Instructionec - execution contextDMLRuntimeException - if DMLRuntimeException occurspublic abstract void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
throws DMLRuntimeException
InstructionprocessInstruction in class Instructionec - execution contextDMLRuntimeException - if DMLRuntimeException occurspublic void postprocessInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
throws DMLRuntimeException
InstructionpostprocessInstruction in class Instructionec - execution contextDMLRuntimeException - if DMLRuntimeException occursCopyright © 2017 The Apache Software Foundation. All rights reserved.