Class CLALibStack
- java.lang.Object
-
- org.apache.sysds.runtime.compress.lib.CLALibStack
-
public final class CLALibStack extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatrixBlockcombine(Map<MatrixIndexes,MatrixBlock> m, Map<Integer,List<IDictionary>> d, int k)Combine the map of index matrix blocks into a single MatrixBlock.static MatrixBlockcombine(Map<MatrixIndexes,MatrixBlock> m, Map<Integer,List<IDictionary>> d, int rlen, int clen, int blen, int k)Alternative read, when dimensions are known.
-
-
-
Method Detail
-
combine
public static MatrixBlock combine(Map<MatrixIndexes,MatrixBlock> m, Map<Integer,List<IDictionary>> d, int k)
Combine the map of index matrix blocks into a single MatrixBlock. The intension is that the combining is able to resolve differences in the different MatrixBlocks allocation.- Parameters:
m- The map of Index to MatrixBLocksd- A map of the dictionaries contained in the compression schemek- The parallelization degree allowed for this operation- Returns:
- The combined matrix.
-
combine
public static MatrixBlock combine(Map<MatrixIndexes,MatrixBlock> m, Map<Integer,List<IDictionary>> d, int rlen, int clen, int blen, int k)
Alternative read, when dimensions are known.- Parameters:
m- The sub matrix blocksd- The sub dictionariesrlen- n rowsclen- n colsblen- block sizek- Parallelization degree- Returns:
- The combined matrixBlock
-
-