Skip to content

Commit 8eed692

Browse files
committed
shifted SP and FED opcodes to enum. Created InstructionType to consolidate all types.
# Conflicts: # src/main/java/org/apache/sysds/runtime/instructions/SPInstructionParser.java # src/main/java/org/apache/sysds/runtime/instructions/spark/BinaryFrameFrameSPInstruction.java
1 parent 6653ced commit 8eed692

File tree

111 files changed

+904
-945
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+904
-945
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
package org.apache.sysds.common;
2+
3+
public enum InstructionType {
4+
AggregateBinary,
5+
AggregateTernary,
6+
AggregateUnary,
7+
UaggOuterChain,
8+
Binary,
9+
Unary,
10+
Builtin,
11+
Ternary,
12+
BuiltinNary,
13+
ParameterizedBuiltin,
14+
MultiReturnParameterizedBuiltin,
15+
Variable,
16+
Reorg,
17+
Reshape,
18+
Dnn,
19+
Quaternary,
20+
FCall,
21+
Append,
22+
Rand,
23+
StringInit,
24+
Ctable,
25+
CentralMoment,
26+
Covariance,
27+
QSort,
28+
QPick,
29+
MatrixIndexing,
30+
MultiReturnBuiltin,
31+
MultiReturnComplexMatrixBuiltin,
32+
Partition,
33+
Compression,
34+
DeCompression,
35+
SpoofFused,
36+
Prefetch,
37+
EvictLineageCache,
38+
Broadcast,
39+
TrigRemote,
40+
Local,
41+
Sql,
42+
MMTSJ,
43+
PMMJ,
44+
MMChain,
45+
46+
//SP Types
47+
MAPMM,
48+
MAPMMCHAIN,
49+
TSMM2,
50+
CPMM,
51+
RMM,
52+
ZIPMM,
53+
PMAPMM,
54+
Reblock,
55+
CSVReblock,
56+
LIBSVMReblock,
57+
Checkpoint,
58+
MAppend,
59+
RAppend,
60+
GAppend,
61+
GAlignedAppend,
62+
CumsumAggregate,
63+
CumsumOffset,
64+
BinUaggChain,
65+
Cast,
66+
TSMM,
67+
AggregateUnarySketch,
68+
PMM,
69+
MatrixReshape,
70+
Write,
71+
Init,
72+
73+
//FED
74+
Tsmm;
75+
}

0 commit comments

Comments
 (0)