Compute Library
arm_compute::test::traits Namespace Reference

Data Structures

struct  promote
 Promote a type. More...
struct  promote< float >
 Promote float to float. More...
struct  promote< half >
 Promote half to half. More...
struct  promote< int16_t >
 Promote int16_t to int32_t. More...
struct  promote< int32_t >
 Promote int32_t to int64_t. More...
struct  promote< int8_t >
 Promote int8_t to int16_t. More...
struct  promote< uint16_t >
 Promote uint16_t to uint32_t. More...
struct  promote< uint32_t >
 Promote uint32_t to uint64_t. More...
struct  promote< uint8_t >
 Promote uint8_t to uint16_t. More...


template<typename T >
using promote_t = typename promote< T >::type
 Get promoted type. More...
template<typename T >
using make_signed_conditional_t = typename std::conditional< std::is_integral< T >::value, std::make_signed< T >, std::common_type< T > >::type
template<typename T >
using make_unsigned_conditional_t = typename std::conditional< std::is_integral< T >::value, std::make_unsigned< T >, std::common_type< T > >::type

Typedef Documentation

◆ make_signed_conditional_t

using make_signed_conditional_t = typename std::conditional<std::is_integral<T>::value, std::make_signed<T>, std::common_type<T> >::type

Definition at line 130 of file Utils.h.

◆ make_unsigned_conditional_t

using make_unsigned_conditional_t = typename std::conditional<std::is_integral<T>::value, std::make_unsigned<T>, std::common_type<T> >::type

Definition at line 133 of file Utils.h.

◆ promote_t

using promote_t = typename promote<T>::type

Get promoted type.

Definition at line 127 of file Utils.h.