Matthias Boehm created SYSTEMML-2098:
----------------------------------------

             Summary: Sparse result merge w/ empty in-place target hangs
                 Key: SYSTEMML-2098
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2098
             Project: SystemML
          Issue Type: Bug
            Reporter: Matthias Boehm


For the following script, the parfor optimizer marks X for update in place, 
which in turn causes its empty allocation in CSR. Merging the first sparse 
matrix then hangs in an endless loop trying to allocate the target.

{code}

X = matrix(0, rows=10000, cols=10000);
parfor(i in 1:12, log=DEBUG) {
  X += rand(rows=10000,cols=10000, sparsity=0.2, seed=7);
  while(FALSE){}
  print("iteration "+i);
}
print(sum(X));

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to