Skip to content

Commit

Permalink
[SYSTEMDS-3038] CLA Spark Left Multiplication
Browse files Browse the repository at this point in the history
This commit reenable a test that was disabled for Spark LMM.
This was disabled because previously we were unable to stack compressed
matrices, while now we can. and therefore we can do Spark Left MM
compressed.
  • Loading branch information
Baunsgaard committed May 30, 2023
1 parent c97a3a3 commit 10315ab
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

package org.apache.sysds.test.functions.compress.configuration;

import static org.junit.Assert.fail;

import java.io.File;

import org.apache.sysds.common.Types.ExecType;
Expand Down Expand Up @@ -189,7 +191,7 @@ public void testMatrixMultRightSumPlusOnOverlapDecompress_Larger_SP() {
// be aware that with multiple blocks it is likely that the small blocks
// initially compress, but is to large for overlapping state therefor will decompress.
// In this test it decompress the second small block but keeps the first in overlapping state.
compressTest(1110, 10, 1.0, ExecType.SPARK, 1, 6, 1, 1, 1, "mmr_sum_plus_2");
compressTest(1110, 10, 1.0, ExecType.SPARK, 1, 6, 1, 1, 2, "mmr_sum_plus_2");
}

@Test
Expand All @@ -198,10 +200,15 @@ public void testMatrixMultLeftSum_CP() {
}

@Test
@Ignore
// @Ignore
public void testMatrixMultLeftSum_SP_SmallerThanLeft() {
// see task: https://issues.apache.org/jira/browse/SYSTEMDS-3038
runTest(1500, 1, 0, 1, ExecType.SPARK, "mml_sum");
try{
runTest(1500, 1, 2, 1, ExecType.SPARK, "mml_sum");
}
catch(Exception e){
e.printStackTrace();
fail(e.getMessage());
}
}

@Test
Expand Down

0 comments on commit 10315ab

Please sign in to comment.