template<typename Type, regular_abi ABI = eve::current_abi_type>
struct eve::fundamental_width< Type, ABI >
Computes the fundamental width of a given type.
Required header: #include <eve/arch/fundamental_width.hpp>
eve::fundamental_width computes the width of the smallest register able to store values of type Type for a given SIMD ABI with no uninitialized lanes.
- Template Parameters
-
| Type | Type of value to assess |
| ABI | SIMD ABI to use as reference. Must models eve::regular_abi. |
Member types
| Name | Definition |
| type | The type of width computed for Type |
Helper types
template<typename Type, regular_abi ABI = eve::current_abi_type>
using fundamental_width_t = typename fundamental_width<Type, ABI>::type;
Helper variable template
template<typename Type, regular_abi ABI = eve::current_abi_type>
inline constexpr auto fundamental_width_v = fundamental_width_t<Type, ABI>::value;
template<typename Type, typename ABI = eve::current_abi_type>
Computes the fundamental width of a given type.
Definition fundamental_width.hpp:68