SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
simd_traits.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3// SPDX-License-Identifier: BSD-3-Clause
4
10#pragma once
11
13
14namespace seqan3
15{
16
17inline namespace simd
18{
19
35template <typename simd_t>
37#if SEQAN3_DOXYGEN_ONLY(1) 0
38{
42 using scalar_type = IMPLEMENTATION_DEFINED;
46 static constexpr auto length = IMPLEMENTATION_DEFINED;
51 static constexpr auto max_length = IMPLEMENTATION_DEFINED;
55 using mask_type = IMPLEMENTATION_DEFINED;
59 using swizzle_type = IMPLEMENTATION_DEFINED;
63 using rebind = IMPLEMENTATION_DEFINED;
64}
65#endif
66;
67
68} // namespace simd
69
70} // namespace seqan3
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
Provides platform and dependency checks.
seqan3::simd::simd_traits is the trait class that provides uniform interface to the properties of sim...
Definition simd_traits.hpp:38
static constexpr auto length
The number of packed values in a simd vector (is not defined if simd_t does not model seqan3::simd::s...
Definition simd_traits.hpp:46
IMPLEMENTATION_DEFINED scalar_type
The underlying type of a simd vector (is not defined if simd_t does not model seqan3::simd::simd)
Definition simd_traits.hpp:42
IMPLEMENTATION_DEFINED swizzle_type
The type used to define how to swizzle a simd vector (is not defined if simd_t does not model seqan3:...
Definition simd_traits.hpp:59
IMPLEMENTATION_DEFINED rebind
The type used to rebind a simd vector to another scalar_type (is not defined if simd_t does not model...
Definition simd_traits.hpp:63
IMPLEMENTATION_DEFINED mask_type
The type returned by comparison operators (is not defined if simd_t does not model seqan3::simd::simd...
Definition simd_traits.hpp:55
static constexpr auto max_length
The maximum number of packable values in a simd vector, if the underlying type would be [u]int8_t (is...
Definition simd_traits.hpp:51
Hide me