template<typename scalar_t, size_t length>
struct seqan3::detail::builtin_simd< scalar_t, length >
A class that holds the type of a simd implementation called vector extension (formerly known as "seqan simd" in seqan2).
- Template Parameters
-
scalar_t | The underlying type of a simd vector |
length | The number of packed values in a simd vector |
Provides seqan3::detail::builtin_simd, seqan3::detail::is_builtin_simd and seqan3::simd::simd_traits<...
A class that holds the type of a simd implementation called vector extension (formerly known as "seqa...
Definition: builtin_simd.hpp:53
seqan3::detail::builtin_simd is basically defined as:
template <typename scalar_t, size_t length>
struct builtin_simd
{
using type [[gnu::vector_size(sizeof(scalar_t) * length)]] = scalar_t;
};
- Attention
- This class itself only delegates to a vector extension type, which is offered by the compiler as a builtin type.
- See also
- https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html