You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2017/12/13 00:01:00 UTC

[jira] [Created] (SYSTEMML-2050) Prints show in reverse order of merge of statement blocks

Matthias Boehm created SYSTEMML-2050:
----------------------------------------

             Summary: Prints show in reverse order of merge of statement blocks
                 Key: SYSTEMML-2050
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2050
             Project: SystemML
          Issue Type: Bug
            Reporter: Matthias Boehm


As pointed out by [~dusenberrymw] - print currently show up in reverse order after the merge of sequences of statement blocks. For instance, the following example 

{code}
print("test1");
print("test"+2);
print("test"+3);
if(1==1){} 
print("test4");
print("test"+5);
{code}

currently produces the following output

{code}
test4
test5
test1
test2
test3
{code}

The new instruction scheduling introduced with SYSTEMML-2039 ensures (as a byproduct) that prints within one DAG are scheduled in their original order. However, after the merge of statement blocks, prints without data dependencies can be reordered. 

This task aims to simply sort all DAG output instructions accordingly to their line numbers.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)