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 6dbc983efb [MINOR] Remove unreachable code LineageCache
6dbc983efb is described below

commit 6dbc983efb158e5762c76459fbc7970f0ba82679
Author: baunsgaard <[email protected]>
AuthorDate: Thu Jan 19 09:32:57 2023 +0100

    [MINOR] Remove unreachable code LineageCache
---
 src/main/java/org/apache/sysds/runtime/lineage/LineageCache.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/sysds/runtime/lineage/LineageCache.java 
b/src/main/java/org/apache/sysds/runtime/lineage/LineageCache.java
index b3a81a9e1a..c38a07d43c 100644
--- a/src/main/java/org/apache/sysds/runtime/lineage/LineageCache.java
+++ b/src/main/java/org/apache/sysds/runtime/lineage/LineageCache.java
@@ -150,10 +150,7 @@ public class LineageCache
                                                if (!((SparkExecutionContext) 
ec).isRDDCached(rdd.getRDD().id()))
                                                        //Return if the RDD is 
not cached in the executors
                                                        return false;
-                                               // if (rdd == null && 
e.getCacheStatus() == LineageCacheStatus.NOTCACHED)
-                                                       // return false;
-                                               // else
-                                                       
((SparkExecutionContext) ec).setRDDHandleForVariable(outName, rdd);
+                                               ((SparkExecutionContext) 
ec).setRDDHandleForVariable(outName, rdd);
                                        }
                                        else { //TODO handle locks on gpu 
objects
                                                //shallow copy the cached 
GPUObj to the output MatrixObject

Reply via email to