This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/main by this push:
     new 1aca0396f2 [MINOR] Log out metadata size from transformencode
1aca0396f2 is described below

commit 1aca0396f224b2bd76f8fbbb97115eb8c6b76a18
Author: Sebastian Baunsgaard <[email protected]>
AuthorDate: Mon Feb 3 15:34:17 2025 +0100

    [MINOR] Log out metadata size from transformencode
---
 .../instructions/cp/MultiReturnParameterizedBuiltinCPInstruction.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/src/main/java/org/apache/sysds/runtime/instructions/cp/MultiReturnParameterizedBuiltinCPInstruction.java
 
b/src/main/java/org/apache/sysds/runtime/instructions/cp/MultiReturnParameterizedBuiltinCPInstruction.java
index 43088d7330..28bd01f08d 100644
--- 
a/src/main/java/org/apache/sysds/runtime/instructions/cp/MultiReturnParameterizedBuiltinCPInstruction.java
+++ 
b/src/main/java/org/apache/sysds/runtime/instructions/cp/MultiReturnParameterizedBuiltinCPInstruction.java
@@ -105,6 +105,10 @@ public class MultiReturnParameterizedBuiltinCPInstruction 
extends ComputationCPI
                ec.releaseFrameInput(input1.getName());
                ec.setMatrixOutput(getOutput(0).getName(), data);
                ec.setFrameOutput(getOutput(1).getName(), meta);
+               
+               if(LOG.isDebugEnabled())
+                       // debug the size of the output metadata.
+                       LOG.debug("Memory size of metadata: " + 
meta.getInMemorySize());
        }
 
        @Override

Reply via email to