org.apache.sysml.runtime.instructions.spark

Class BinarySPInstruction

    • Constructor Detail

      • BinarySPInstruction

        protected BinarySPInstruction(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)
    • Method Detail

      • parseBinaryInstruction

        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)
                                                throws DMLRuntimeException
        Throws:
        DMLRuntimeException
      • parseBinaryInstruction

        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)
                                                throws DMLRuntimeException
        Throws:
        DMLRuntimeException
      • processMatrixMatrixBinaryInstruction

        protected void processMatrixMatrixBinaryInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
                                                     throws DMLRuntimeException
        Common binary matrix-matrix process instruction
        Parameters:
        ec - execution context
        Throws:
        DMLRuntimeException - if DMLRuntimeException occurs
      • processMatrixBVectorBinaryInstruction

        protected void processMatrixBVectorBinaryInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec,
                                                             org.apache.sysml.lops.BinaryM.VectorType vtype)
                                                      throws DMLRuntimeException
        Throws:
        DMLRuntimeException
      • processMatrixScalarBinaryInstruction

        protected void processMatrixScalarBinaryInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
                                                     throws DMLRuntimeException
        Throws:
        DMLRuntimeException
      • updateBinaryAppendOutputMatrixCharacteristics

        protected void updateBinaryAppendOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
                                                                     boolean cbind)
                                                              throws DMLRuntimeException
        Throws:
        DMLRuntimeException
      • checkMatrixMatrixBinaryCharacteristics

        protected void checkMatrixMatrixBinaryCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec)
                                                       throws DMLRuntimeException
        Throws:
        DMLRuntimeException
      • checkBinaryAppendInputCharacteristics

        protected void checkBinaryAppendInputCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
                                                             boolean cbind,
                                                             boolean checkSingleBlk,
                                                             boolean checkAligned)
                                                      throws DMLRuntimeException
        Throws:
        DMLRuntimeException

Copyright © 2017 The Apache Software Foundation. All rights reserved.