Skip to content

LoopSIMD for vector types

This MR adapts LoopSIMD to take another vectorized type as template argument. If Tis a vectorized type, then LoopSIMD<T,k> has lanes<T>()*k lanes and the same scalar as T (Scalar<LoopSIMD<T,k>> == Scalar<T>).

This is useful with dune-vectorclass, to create arbitrary large vector types with explicit SIMD support, for example.

Feel free to push any changes to the source branch!

Edited by Nils-Arne Dreier

Merge request reports