A class that holds the type of a simd implementation called [vector extension] (https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html) (formerly known as "seqan simd" in seqan2).
More...
#include <seqan3/utility/simd/detail/builtin_simd.hpp>
|
using | type = scalar_t __attribute__((vector_size(sizeof(scalar_t) *length)))) |
| The type of the builtin simd.
|
|
template<typename scalar_t, size_t length>
requires (
std::has_single_bit(length))
struct seqan3::detail::builtin_simd< scalar_t, length >
A class that holds the type of a simd implementation called [vector extension] (https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html) (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] (https://gcc....
Definition builtin_simd.hpp:50
seqan3::detail::builtin_simd is basically defined as:
template <typename scalar_t, size_t length>
{
using type [[gnu::vector_size(
sizeof(scalar_t) * length)]] = scalar_t;
};
scalar_t __attribute__((vector_size(sizeof(scalar_t) *length)))) type
The type of the builtin simd.
Definition builtin_simd.hpp:60
- Attention
- This class itself only delegates to a [vector extension] (https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html) type, which is offered by the compiler as a builtin type.
- See also
- https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html
The documentation for this struct was generated from the following file: