public class TernarySPInstruction extends ComputationSPInstruction
SPInstruction.SPINSTRUCTION_TYPEInstruction.INSTRUCTION_TYPEinput1, input2, input3, output_optr, _requiresLabelUpdate, _sptypebeginCol, 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 |
|---|
TernarySPInstruction(org.apache.sysml.runtime.matrix.operators.Operator op,
org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand in3,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String outputDim1,
boolean dim1Literal,
String outputDim2,
boolean dim2Literal,
boolean isExpand,
boolean ignoreZeros,
String opcode,
String istr) |
| Modifier and Type | Method and Description |
|---|---|
static TernarySPInstruction |
parseInstruction(String inst) |
void |
processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used to execute the instruction.
|
getOutputVariableName, updateBinaryOutputMatrixCharacteristics, updateUnaryAggOutputMatrixCharacteristics, updateUnaryOutputMatrixCharacteristics, updateUnaryOutputMatrixCharacteristicsgetGraphString, getSPInstructionType, postprocessInstruction, preprocessInstruction, requiresLabelUpdategetExtendedOpcode, getInstID, getLineNum, getOpcode, getType, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setType, toString, updateInstructionThreadIDpublic TernarySPInstruction(org.apache.sysml.runtime.matrix.operators.Operator op,
org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand in3,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String outputDim1,
boolean dim1Literal,
String outputDim2,
boolean dim2Literal,
boolean isExpand,
boolean ignoreZeros,
String opcode,
String istr)
public static TernarySPInstruction parseInstruction(String inst) throws DMLRuntimeException
DMLRuntimeExceptionpublic void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
throws DMLRuntimeException
InstructionprocessInstruction in class SPInstructionec - execution contextDMLRuntimeException - if DMLRuntimeException occursCopyright © 2017 The Apache Software Foundation. All rights reserved.