public class ReorgGPUInstruction extends GPUInstruction
GPUInstruction.GPUINSTRUCTION_TYPE
Instruction.INSTRUCTION_TYPE
_gputype, _optr, _requiresLabelUpdate
beginCol, beginLine, DATATYPE_PREFIX, endCol, endLine, GPU_INST_PREFIX, instOpcode, INSTRUCTION_DELIM, instString, LITERAL_PREFIX, LOG, OPERAND_DELIM, SP_INST_PREFIX, type, VALUETYPE_PREFIX
Constructor and Description |
---|
ReorgGPUInstruction(org.apache.sysml.runtime.matrix.operators.Operator op,
org.apache.sysml.runtime.instructions.cp.CPOperand in,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr)
for opcodes r'
|
Modifier and Type | Method and Description |
---|---|
static ReorgGPUInstruction |
parseInstruction(String str) |
void |
processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used to execute the instruction.
|
getGPUInstructionType, getGraphString, preprocessInstruction, requiresLabelUpdate
getExtendedOpcode, getInstID, getLineNum, getOpcode, getType, postprocessInstruction, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setType, toString, updateInstructionThreadID
public ReorgGPUInstruction(org.apache.sysml.runtime.matrix.operators.Operator op, org.apache.sysml.runtime.instructions.cp.CPOperand in, org.apache.sysml.runtime.instructions.cp.CPOperand out, String opcode, String istr)
op
- operatorin
- input operandout
- output operandopcode
- the opcodeistr
- instruction stringpublic static ReorgGPUInstruction parseInstruction(String str) throws DMLRuntimeException
DMLRuntimeException
public void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec) throws DMLRuntimeException
Instruction
processInstruction
in class GPUInstruction
ec
- execution contextDMLRuntimeException
- if DMLRuntimeException occursCopyright © 2017 The Apache Software Foundation. All rights reserved.