This is an automated email from the ASF dual-hosted git repository.
baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/main by this push:
new bc2993ef28 [MINOR] Merge InstructionType Tsmm and TSMM
bc2993ef28 is described below
commit bc2993ef285cbeb440d1b970ad263e6b40be699e
Author: Sebastian Baunsgaard <[email protected]>
AuthorDate: Fri May 16 15:37:21 2025 +0200
[MINOR] Merge InstructionType Tsmm and TSMM
Closes #2263
---
src/main/java/org/apache/sysds/common/InstructionType.java | 3 ---
src/main/java/org/apache/sysds/common/Opcodes.java | 2 +-
.../org/apache/sysds/runtime/instructions/FEDInstructionParser.java | 2 +-
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/sysds/common/InstructionType.java
b/src/main/java/org/apache/sysds/common/InstructionType.java
index d58ac2523e..4dba1c5be0 100644
--- a/src/main/java/org/apache/sysds/common/InstructionType.java
+++ b/src/main/java/org/apache/sysds/common/InstructionType.java
@@ -88,7 +88,4 @@ public enum InstructionType {
MatrixReshape,
Write,
Init,
-
- //FED
- Tsmm;
}
diff --git a/src/main/java/org/apache/sysds/common/Opcodes.java
b/src/main/java/org/apache/sysds/common/Opcodes.java
index f0bccef77b..28c5a7a6a8 100644
--- a/src/main/java/org/apache/sysds/common/Opcodes.java
+++ b/src/main/java/org/apache/sysds/common/Opcodes.java
@@ -278,7 +278,7 @@ public enum Opcodes {
RIGHT_INDEX(RightIndex.OPCODE, InstructionType.MatrixIndexing),
LEFT_INDEX(LeftIndex.OPCODE, InstructionType.MatrixIndexing),
- TSMM("tsmm", InstructionType.MMTSJ, InstructionType.TSMM,
InstructionType.Tsmm),
+ TSMM("tsmm", InstructionType.MMTSJ, InstructionType.TSMM),
PMM("pmm", InstructionType.PMMJ, InstructionType.PMM),
MMCHAIN("mmchain", InstructionType.MMChain),
diff --git
a/src/main/java/org/apache/sysds/runtime/instructions/FEDInstructionParser.java
b/src/main/java/org/apache/sysds/runtime/instructions/FEDInstructionParser.java
index 9eb43d1e2f..a29186d32c 100644
---
a/src/main/java/org/apache/sysds/runtime/instructions/FEDInstructionParser.java
+++
b/src/main/java/org/apache/sysds/runtime/instructions/FEDInstructionParser.java
@@ -62,7 +62,7 @@ public class FEDInstructionParser extends InstructionParser
return
AggregateBinaryFEDInstruction.parseInstruction(str);
case AggregateUnary:
return
AggregateUnaryFEDInstruction.parseInstruction(str);
- case Tsmm:
+ case TSMM:
return TsmmFEDInstruction.parseInstruction(str);
case Binary:
return
BinaryFEDInstruction.parseInstruction(str);