data_type.hpp File Reference

data_type.hpp File Reference#

Composable Kernel: data_type.hpp File Reference
data_type.hpp File Reference

Go to the source code of this file.

Classes

struct  ck::f4x2_pk_t
struct  ck::f6_pk_t< BitType, pk_size >
struct  ck::pk_i4_t
struct  ck::is_scalar_type< TV >
struct  ck::scalar_type< T >
struct  ck::scalar_type< double >
struct  ck::scalar_type< float >
struct  ck::scalar_type< half_t >
struct  ck::scalar_type< bhalf_t >
struct  ck::scalar_type< int32_t >
struct  ck::scalar_type< int8_t >
struct  ck::scalar_type< uint8_t >
struct  ck::scalar_type< pk_i4_t >
struct  ck::scalar_type< f8_fnuz_t >
struct  ck::scalar_type< bf8_fnuz_t >
struct  ck::scalar_type< f8_ocp_t >
struct  ck::scalar_type< bf8_ocp_t >
struct  ck::scalar_type< e8m0_bexp_t >
struct  ck::scalar_type< f4x2_pk_t >
struct  ck::scalar_type< f6x32_pk_t >
struct  ck::scalar_type< bf6x32_pk_t >
struct  ck::scalar_type< f6x16_pk_t >
struct  ck::scalar_type< bf6x16_pk_t >
struct  ck::scalar_type< bool >
struct  ck::packed_type_info< T >
struct  ck::packed_type_maker< T, N >

Namespaces

namespace  ck

Typedefs

using ck::tf32_t = _BitInt(19)
using ck::bhalf_t = ushort
using ck::half_t = _Float16
using ck::int4_t = _BitInt(4)
using ck::f4_t = unsigned _BitInt(4)
using ck::f6_t = _BitInt(6)
using ck::bf6_t = unsigned _BitInt(6)
using ck::f6x16_pk_t = f6_pk_t<f6_t, 16>
using ck::f6x32_pk_t = f6_pk_t<f6_t, 32>
using ck::bf6x16_pk_t = f6_pk_t<bf6_t, 16>
using ck::bf6x32_pk_t = f6_pk_t<bf6_t, 32>
template<typename X, typename Y>
using ck::has_same_scalar_type
template<typename T>
using ck::element_type_t = typename packed_type_info<T>::element_type
template<typename T, index_t N = 0>
using ck::packed_type_t = typename packed_type_maker<T, N>::packed_type
using ck::int64_t = long

Functions

constexpr auto ck::next_pow2 (uint32_t x)
template<typename T>
constexpr bool ck::is_native_type ()
template<typename T>
const char * ck::get_type_name ()

Variables

template<typename T>
constexpr index_t ck::packed_size_v = packed_type_info<T>::packed_size
template<typename T>
constexpr bool ck::is_packed_type_v = packed_size_v<T> > 1