Repository: systemml Updated Branches: refs/heads/master 269aef35f -> f702c03be
[SYSTEMML-540] Bugfix in GPU axpy instruction due to recent ternary changes Project: http://git-wip-us.apache.org/repos/asf/systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/f702c03b Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/f702c03b Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/f702c03b Branch: refs/heads/master Commit: f702c03be29407b11f049d34eb272f47a8395b2d Parents: 269aef3 Author: Niketan Pansare <[email protected]> Authored: Fri Jan 19 13:17:56 2018 -0800 Committer: Niketan Pansare <[email protected]> Committed: Fri Jan 19 13:17:55 2018 -0800 ---------------------------------------------------------------------- .../runtime/instructions/gpu/MatrixMatrixAxpyGPUInstruction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/systemml/blob/f702c03b/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixMatrixAxpyGPUInstruction.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixMatrixAxpyGPUInstruction.java b/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixMatrixAxpyGPUInstruction.java index 2595795..778c400 100644 --- a/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixMatrixAxpyGPUInstruction.java +++ b/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixMatrixAxpyGPUInstruction.java @@ -62,7 +62,7 @@ public class MatrixMatrixAxpyGPUInstruction extends ArithmeticBinaryGPUInstructi Operator operator = (dt1 != dt2) ? InstructionUtils.parseScalarBinaryOperator(opcode, (dt1 == DataType.SCALAR)) : - InstructionUtils.parseBinaryOperator(opcode); + InstructionUtils.parseTernaryOperator(opcode); if(dt1 == DataType.MATRIX && dt2 == DataType.MATRIX && dt3 == DataType.MATRIX) { return new MatrixMatrixAxpyGPUInstruction(operator, in1, constant, multiplier, in2, out, opcode, str);
