public abstract class BinarySPInstruction extends ComputationSPInstruction
SPInstruction.SPType
Instruction.IType
input1, input2, input3, output
_optr, _requiresLabelUpdate, _sptype
beginCol, beginLine, DATATYPE_PREFIX, endCol, endLine, filename, GPU_INST_PREFIX, instOpcode, INSTRUCTION_DELIM, instString, LITERAL_PREFIX, LOG, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
BinarySPInstruction(SPInstruction.SPType type,
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 out,
String opcode,
String istr) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkBinaryAppendInputCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
boolean cbind,
boolean checkSingleBlk,
boolean checkAligned) |
protected void |
checkMatrixMatrixBinaryCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec) |
protected long |
getNumReplicas(MatrixCharacteristics mc1,
MatrixCharacteristics mc2,
boolean left) |
protected static String |
parseBinaryInstruction(String instr,
org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand out) |
protected static String |
parseBinaryInstruction(String instr,
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) |
static BinarySPInstruction |
parseInstruction(String str) |
protected void |
processMatrixBVectorBinaryInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec,
org.apache.sysml.lops.BinaryM.VectorType vtype) |
protected void |
processMatrixMatrixBinaryInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
Common binary matrix-matrix process instruction
|
protected void |
processMatrixScalarBinaryInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec) |
protected void |
updateBinaryAppendOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
boolean cbind) |
protected MatrixCharacteristics |
updateBinaryMMOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
boolean checkCommonDim) |
getOutputVariableName, updateBinaryOutputMatrixCharacteristics, updateUnaryAggOutputMatrixCharacteristics, updateUnaryOutputMatrixCharacteristics, updateUnaryOutputMatrixCharacteristics
getGraphString, getSPInstructionType, getType, postprocessInstruction, preprocessInstruction, processInstruction, requiresLabelUpdate
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getLineNum, getOpcode, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, toString, updateInstructionThreadID
protected BinarySPInstruction(SPInstruction.SPType type, 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 out, String opcode, String istr)
public static BinarySPInstruction parseInstruction(String str)
protected static String parseBinaryInstruction(String instr, org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand out)
protected static String parseBinaryInstruction(String instr, 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)
protected void processMatrixMatrixBinaryInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
ec
- execution contextprotected void processMatrixBVectorBinaryInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec, org.apache.sysml.lops.BinaryM.VectorType vtype)
protected void processMatrixScalarBinaryInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
protected MatrixCharacteristics updateBinaryMMOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec, boolean checkCommonDim)
protected void updateBinaryAppendOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec, boolean cbind)
protected long getNumReplicas(MatrixCharacteristics mc1, MatrixCharacteristics mc2, boolean left)
protected void checkMatrixMatrixBinaryCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec)
protected void checkBinaryAppendInputCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec, boolean cbind, boolean checkSingleBlk, boolean checkAligned)
Copyright © 2018 The Apache Software Foundation. All rights reserved.