systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Boehm (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SYSTEMML-2166) Reversed print ordering after function inlining
Date Fri, 02 Mar 2018 02:40:00 GMT
Matthias Boehm created SYSTEMML-2166:
----------------------------------------

             Summary: Reversed print ordering after function inlining
                 Key: SYSTEMML-2166
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2166
             Project: SystemML
          Issue Type: Task
            Reporter: Matthias Boehm


With SystemML 1.1 a number of new rewrites were introduced that merge sequences of statement
blocks which appear after branch removal and function inlining. Although this greatly improves
performance for certain workloads, it might lead to a reordering of operations without dependencies
(such as prints) that end up in the consolidated DAG. SYSTEMML-2050 tries to address this
by ordering of prints by their line numbers. Unfortunately, this works only in certain situations
because after function lining the print line numbers do not correspond with the order of the
original function calls. 

This task aims to resolve this behavior which might be confusing. There two possible approaches:
either (1) assign artificial line numbers or positions during function lining and statement
block merge, or (2) merge the DAG roots in order to their sequence. The second approach seems
more appropriate because it also leaves the other operations in order, not just prints.



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

Mime
View raw message