j143 commented on code in PR #2302:
URL: https://github.com/apache/systemds/pull/2302#discussion_r2250077411


##########
src/main/java/org/apache/sysds/runtime/instructions/cp/VariableCPInstruction.java:
##########
@@ -1060,6 +1054,36 @@ private void processWriteInstruction(ExecutionContext 
ec) {
                        
HDFSTool.writeScalarToHDFS(ec.getScalarInput(getInput1()), fname);
                }
                else if( getInput1().getDataType() == DataType.MATRIX ) {
+                       MatrixObject mo = 
ec.getMatrixObject(getInput1().getName());
+                       int blen = Integer.parseInt(getInput4().getName());
+                       LocalTaskQueue<IndexedMatrixValue> stream = 
mo.getStreamHandle();
+
+                       if (stream != null) {

Review Comment:
   I've not understood this part.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to