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/07/06 08:09:00 UTC

[jira] [Created] (SYSTEMML-1747) New rewrite and performance binary outer operations

Matthias Boehm created SYSTEMML-1747:
----------------------------------------

             Summary: New rewrite and performance binary outer operations
                 Key: SYSTEMML-1747
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1747
             Project: SystemML
          Issue Type: Task
            Reporter: Matthias Boehm


In a number of scripts we see unnecessary column replication as a pre-processing steps for matrix-vector operations although these operations could be directly realized via {{outer}}. Hence, this task aims to automatically rewrite such patterns as follows
{code}
(a %*% ones) == b) -> outer(a, b, "==")
{code}
which applies to any binary comparison, arithmetic or builtin operation. 

Furthermore, this task should also cleanup unnecessary inefficiencies in the existing outer operations (e.g., unnecessary deep vector copies, avoid binary search for small number of rhs columns).




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