Skip to content

Commit 914f9e9

Browse files
committed
[skip ci]reshape condition revert
1 parent 3c85913 commit 914f9e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/sysds/runtime/compress/lib/CLALibReshape.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private void checkValidity() {
161161

162162
private boolean shouldItBeCompressedOutputs() {
163163
// The number of rows in the reshaped allocations is fairly large.
164-
return rlen > COMPRESSED_RESHAPE_THRESHOLD &&
164+
return rlen > COMPRESSED_RESHAPE_THRESHOLD && rowwise &&
165165
// the reshape is a clean multiplier of number of rows, meaning each column group cleanly reshape into x others
166166
(double) rlen / rows % 1.0 == 0.0;
167167
}

0 commit comments

Comments
 (0)