Defined in header <simdee/simd_vectors/avx.hpp>
sd::avx_
is an architecture-specific type family that employs the AVX instruction set and its extensions. If you use sd::avx_
type family in your code, AVX support must be enabled. Additionally, unless the macro SIMDEE_NEED_INT
is set to 0
, AVX2 support must be enabled. See guide on how to enable instruction sets.
SIMDEE_NEED_INT |
required instruction set |
---|---|
0 |
AVX |
1 (default) |
AVX2 |
Avoid coding against architecture-specific types; prefer architecture-independent types instead.
type | width |
scalar_t |
satisfies concepts |
---|---|---|---|
sd::avxb |
8 | sd::bool32_t |
SIMDVector , SIMDVectorB |
sd::avxf |
8 | float |
SIMDVector , SIMDVectorF |
sd::avxu |
8 | std::uint32_t |
SIMDVector , SIMDVectorU |
sd::avxs |
8 | std::int32_t |
SIMDVector , SIMDVectorS |