Class ResultMergeLocalFile
java.lang.Object
org.apache.sysds.runtime.controlprogram.parfor.ResultMerge<MatrixObject>
org.apache.sysds.runtime.controlprogram.parfor.ResultMergeMatrix
org.apache.sysds.runtime.controlprogram.parfor.ResultMergeLocalFile
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResultMergeLocalFile(MatrixObject out, MatrixObject[] in, String outputFilename, boolean accum) -
Method Summary
Modifier and TypeMethodDescriptionexecuteParallelMerge(int par) Merge all given input matrices in parallel into the given output matrix.Merge all given input matrices sequentially into the given output matrix.
-
Field Details
-
ALLOW_COPY_CELLFILES
public static final boolean ALLOW_COPY_CELLFILES- See Also:
-
-
Constructor Details
-
ResultMergeLocalFile
public ResultMergeLocalFile(MatrixObject out, MatrixObject[] in, String outputFilename, boolean accum)
-
-
Method Details
-
executeSerialMerge
Description copied from class:ResultMergeMerge all given input matrices sequentially into the given output matrix. The required space in-memory is the size of the output matrix plus the size of one input matrix at a time.- Specified by:
executeSerialMergein classResultMerge<MatrixObject>- Returns:
- output (merged) matrix
-
executeParallelMerge
Description copied from class:ResultMergeMerge all given input matrices in parallel into the given output matrix. The required space in-memory is the size of the output matrix plus the size of all input matrices.- Specified by:
executeParallelMergein classResultMerge<MatrixObject>- Parameters:
par- degree of parallelism- Returns:
- output (merged) matrix
-