public class MMTSJGPUInstruction extends GPUInstruction
GPUInstruction.GPUINSTRUCTION_TYPEInstruction.INSTRUCTION_TYPE_gputype, _optr, _requiresLabelUpdatebeginCol, 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 |
|---|
MMTSJGPUInstruction(org.apache.sysml.runtime.matrix.operators.Operator op,
org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.lops.MMTSJ.MMTSJType type,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr)
MMTSJGPUInstruction constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.sysml.lops.MMTSJ.MMTSJType |
getMMTSJType()
returns left/right depending on the type of MMTSJ instruction
|
static MMTSJGPUInstruction |
parseInstruction(String str)
parse MMTSJ GPU instruction
|
void |
processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
process MMTSJ GPU instruction
|
getGPUInstructionType, getGraphString, preprocessInstruction, requiresLabelUpdategetExtendedOpcode, getInstID, getLineNum, getLocation, getOpcode, getType, postprocessInstruction, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setType, toString, updateInstructionThreadIDpublic MMTSJGPUInstruction(org.apache.sysml.runtime.matrix.operators.Operator op,
org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.lops.MMTSJ.MMTSJType type,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr)
op - operatorin1 - inputtype - left/right, left-> A' %*% A, right-> A %*% A'out - outputopcode - the opcodeistr - ?public static MMTSJGPUInstruction parseInstruction(String str) throws DMLRuntimeException
str - instruction stringDMLRuntimeException - if DMLRuntimeException occurspublic void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
throws DMLRuntimeException
processInstruction in class GPUInstructionec - execution contextDMLRuntimeException - if DMLRuntimeException occurspublic org.apache.sysml.lops.MMTSJ.MMTSJType getMMTSJType()
Copyright © 2017 The Apache Software Foundation. All rights reserved.