SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::builtin_simd< scalar_t, length > Struct Template Reference

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...

Detailed Description

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] (https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html) (formerly known as "seqan simd" in seqan2).

Template Parameters
scalar_tThe underlying type of a simd vector
lengthThe number of packed values in a simd vector
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: CC0-1.0
// 8x 16bit integers = 128bit
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;
};
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:
Hide me