Quansight-Labs / python-moa

Python implementation of Mathematics of Arrays (MOA)
https://python-moa.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
23 stars 5 forks source link

Thought out approach to ONF optimizations #17

Closed costrouc closed 5 years ago

costrouc commented 5 years ago

MOA has the ability with multiple backends. Generally these optimizations fall under loop optimizations. Wikipedia has a good overview approaches are polyhedral and unimodular transformation. Immediate concerns since I am collecting multiple issues. Additional concerns are avx instructions (most likely a compiler should handle).

Some frameworks claim to handle pieces of this problem so they should be looked into.

This consumes issues #13, #5

rgommers commented 5 years ago

@costrouc it would be good to summarize the options and pros/cons here. E.g. using the low-level thing that's the actual optimizer under loopy.

rgommers commented 5 years ago

@costrouc to summarize everything, and then consider this issue done - this topic will then be tackled piece by piece.

costrouc commented 5 years ago

Addressed in 26e4812bb4a3e132c845f82ed508973c8f4ffcbc