Vectorization revamp
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Activity
- Jan Hönig mentioned in issue #4 (closed)
mentioned in issue #4 (closed)
- Jan Hönig mentioned in issue #20 (closed)
mentioned in issue #20 (closed)
- Jan Hönig mentioned in issue #1 (closed)
mentioned in issue #1 (closed)
- Jan Hönig mentioned in issue #26 (closed)
mentioned in issue #26 (closed)
Revamping the vectorization is not an easy feat. There are multiple tasks ahead:
-
Abstraction of Vectorizer The vectorization should transform the AST to a vectorized one, ignorant of the target architecture. Translating the vectorized AST to a specific architecture is the step afterward. The printer should be simple!
-
pymbolic
sympy
is notoriously a double-edged sword. On one hand, we love its capabilities. On the other, we hate, when it does stuff without being asked. This comes more often than we would think. This issue can be handled aport from vectorization revamp, but not vice versa. Our strategy is to replacesympy
withpymbolic
at a certain point in the generation process, possibly right after most of the simplifications, or right after the type system.pymbolic
is basically a braindeadsympy
. It doesn't do anything without being asked. Withpymbolic
AST transformation on the expression level should be way safer. -
Use Marco's
sb-simd
Marco spent a lot of time creating an abstract layer for vectorization for hisPetalisp
. We should use his work withcl4py
. Ideally, we would do once a transition fromlisp
topyton/json
. This would result in having the abstraction and we would have all the information nicely represented for various architectures (SSE, AVX, ...) -
Pretty-printer The backend, the pretty-printer, should not have any logic! This should be done previously. See
pow
,mul
, etc.
Edited by Jan Hönig-
- Markus Holzer mentioned in merge request !344 (merged)
mentioned in merge request !344 (merged)
- Daniel Bauer mentioned in merge request !359 (closed)
mentioned in merge request !359 (closed)
- Frederik Hennig mentioned in issue #73
mentioned in issue #73
- Frederik Hennig marked this issue as related to #73
marked this issue as related to #73
- Frederik Hennig changed milestone to %Release 2.0
changed milestone to %Release 2.0
- Owner
This project is moving forward at #104, so I'm closing this issue.
- Frederik Hennig closed
closed