SeqAn3
seqan3::simd::simd_traits< simd_t > Struct Template Reference

seqan3::simd::simd_traits is the trait class that provides uniform interface to the properties of simd_t types. More...

#include <seqan3/core/simd/simd_traits.hpp>

Public Types

using mask_type = IMPLEMENTATION_DEFINED
 The type returned by comparison operators (is not defined if simd_t does not satisfy seqan3::simd::simd_concept)
 
using scalar_type = IMPLEMENTATION_DEFINED
 The underlying type of a simd vector (is not defined if simd_t does not satisfy seqan3::simd::simd_concept)
 
using swizzle_type = IMPLEMENTATION_DEFINED
 The type used to define how to swizzle a simd vector (is not defined if simd_t does not satisfy seqan3::simd::simd_concept)
 

Static Public Attributes

static constexpr auto length = IMPLEMENTATION_DEFINED
 The number of packed values in a simd vector (is not defined if simd_t does not satisfy seqan3::simd::simd_concept)
 
static constexpr auto max_length = IMPLEMENTATION_DEFINED
 The maximum number of packable values in a simd vector, if the underlying type would be [u]int8_t (is not defined if simd_t does not satisfy seqan3::simd::simd_concept)
 

Detailed Description

template<typename simd_t>
struct seqan3::simd::simd_traits< simd_t >

seqan3::simd::simd_traits is the trait class that provides uniform interface to the properties of simd_t types.

Template Parameters
simd_tThe simd type that satisfies seqan3::simd::simd_concept.

The class defines the following member variables and types:

  • scalar_type - the underlying type of a simd vector
  • length - the number of packed values in a simd vector
  • max_length - the maximum number of packable values in a simd vector, if the underlying type would be [u]int8_t
  • mask_type - the type returned by comparison operators
  • swizzle_type - the type used to define how to swizzle a simd vector

The documentation for this struct was generated from the following file: