[ 
https://issues.apache.org/jira/browse/SYSTEMML-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Boehm updated SYSTEMML-1369:
-------------------------------------
    Fix Version/s:     (was: SystemML 1.0)
                   SystemML 0.14

> Loop vectorization rewrite for indexed copies
> ---------------------------------------------
>
>                 Key: SYSTEMML-1369
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1369
>             Project: SystemML
>          Issue Type: Sub-task
>          Components: Compiler
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>             Fix For: SystemML 0.14
>
>
> For complex models, users often have to resort to a task-parallel parfor 
> implementation because it's not easily expressed in vectorized form. In this 
> context, we often encounter indexed copies that could have been easily 
> vectorized. For example, the below snippet stems from a recent benchmark 
> comparison against SystemML, which implemented Hidden Markov Model learning:
> {code}
> parfor (i in 1:ncol(labels)) {
>    topics[id, i] = labels[1, i]
> }
> {code}
> This task aims to automatically rewrite such loops into vectorized form - for 
> above example into {{topics[id, 1:ncol(labels)] = labels[1, 
> 1:ncol(labels)]}}, where the unnecessary right indexing is subsequently 
> remove by following HOP rewrites.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to