E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches
eve::fundamental_cardinal< Type, ABI > Struct Template Reference

Computes the fundamental cardinal of a given type. More...

#include <eve/arch/fundamental_cardinal.hpp>

Detailed Description

template<typename Type, regular_abi ABI = eve::current_abi_type>
struct eve::fundamental_cardinal< Type, ABI >

Required header: #include <eve/arch/fundamental_cardinal.hpp>

eve::fundamental_cardinal computes the cardinal of the smallest register able to store values of type Type for a given SIMD ABI with no uninitialized lanes.

Template Parameters
TypeType of value to assess
ABISIMD ABI to use as reference. Must models eve::regular_abi.

Member types

Name Definition
type The type of cardinal computed for Type


Helper types

template<typename Type, regular_abi ABI = eve::current_abi_type>
using fundamental_cardinal_t = typename fundamental_cardinal<Type, ABI>::type;
SIMD register cardinal type.
Definition cardinal.hpp:15


Helper variable template

template<typename Type, regular_abi ABI = eve::current_abi_type>
inline constexpr auto fundamental_cardinal_v = fundamental_cardinal_t<Type, ABI>::value;
// Cardinal template inline variable to use with functions like eve::load
template<typename Type, typename ABI = eve::current_abi_type>
inline constexpr fundamental_cardinal<Type,ABI> const fundamental = {};
Computes the fundamental cardinal of a given type.
Definition fundamental_cardinal.hpp:67