template<typename T>
struct vspline::simd_traits< T >
traits class simd_traits provides three traits:
- 'hsize' holds the hardware vector width if applicable (used only with Vc)
- 'type': template yielding the vector type for a given vectorization width
- 'default_size': the default vectorization width to use for T default simd_traits: without further specialization, T will be vectorized as a vspline::simd_type. This way, all types will be vectorized, there is no fallback to scalar code for certain types. Scalar code will only be produced if the vectorization width is set to 1 in code taking this datum as a template argument. Note that the type which simd_traits produces for sz == 1 is T itself, not a simd_type of one element.
Definition at line 218 of file vector.h.