You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I suspect LEWG will ask for a rename to simd_permute unless we make it even more generic? Like permute(std::array, ...) etc. (e.g. permute(iota_v<std::array<int, 4>>, permutations::reverse) yields {3, 2, 1, 0} as a constant expression).
Maybe the paper should ask whether there's interest in exploring a generalization? Otherwise stick with simd<T> and possibly T.
We need to consider an overload like
I.e. take a non-simd but vectorizable scalar + index permutation lambda. Produce a scalar or possibly a simd.
Rationale: generic code?
The text was updated successfully, but these errors were encountered: