Skip to content

WIP: Vector reductions

Dominic Kempf requested to merge feature/vector-reductions into master

As talked about in Atlanta, this implements reductions over vectorized inames!

Some steps:

  • realize_reductions gets a callback for reductions of vec-tagged inames
  • In realize_reductionsthe logic "instruction generated => reduction was realized" is removed, because vector reductions do not necessarily write new instructions
  • adds emit_vector_reduction to ASTBuilderBase. By default, it throws Unvectorizable.
  • fall back to the sequential branch, if the target throws Unvectorizable

Still really WIP, committed for CI-use right now.

Merge request reports