Commit c940502
committed
[SYSTEMDS-3773] Fix two matmult kernels w/ parallelization over rhs
The matmult kernel library parallelizes by default over rows in the
left-hand-side matrix, but for specific size regimes, switches to a
parallelization over the rows or columns of the right-hand-side. The
recently added full-coverage tests found two bug, which this patch fixes
a) dense-dense matrix-vector multiplication w/ large vectors
--> extended implementation to support the other parallelization
b) sparse-dense vector-vector dot product
--> disable parallelization for this specific case to use the
existing kernel without binary searches1 parent 8af6bda commit c940502
File tree
2 files changed
+26
-16
lines changed- src
- main/java/org/apache/sysds/runtime/matrix/data
- test/java/org/apache/sysds/test/component/matrix
2 files changed
+26
-16
lines changedLines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
| 1055 | + | |
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
| |||
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | | - | |
| 1078 | + | |
1079 | 1079 | | |
1080 | 1080 | | |
1081 | 1081 | | |
1082 | 1082 | | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
1087 | 1092 | | |
1088 | 1093 | | |
1089 | 1094 | | |
| |||
4349 | 4354 | | |
4350 | 4355 | | |
4351 | 4356 | | |
4352 | | - | |
| 4357 | + | |
4353 | 4358 | | |
4354 | 4359 | | |
4355 | 4360 | | |
| |||
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
| |||
0 commit comments