scaled_type_convert.hpp File Reference

scaled_type_convert.hpp File Reference#

Composable Kernel: scaled_type_convert.hpp File Reference
scaled_type_convert.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  ck

Macros

#define CK_USE_NATIVE_MX_SUPPORT   0

Functions

template<typename Y, typename X>
__host__ constexpr Y ck::scaled_type_convert (e8m0_bexp_t scale, X x)
template<>
__host__ float ck::scaled_type_convert< float, f8_ocp_t > (e8m0_bexp_t scale, f8_ocp_t x)
template<>
__host__ float ck::scaled_type_convert< float, bf8_ocp_t > (e8m0_bexp_t scale, bf8_ocp_t x)
template<>
__host__ float2_t ck::scaled_type_convert< float2_t, f8x2_ocp_t > (e8m0_bexp_t scale, f8x2_ocp_t x)
template<>
__host__ float2_t ck::scaled_type_convert< float2_t, bf8x2_ocp_t > (e8m0_bexp_t scale, bf8x2_ocp_t x)
template<>
__host__ float16_t ck::scaled_type_convert< float16_t, f8x16_ocp_t > (e8m0_bexp_t scale, f8x16_ocp_t x)
template<>
__host__ float16_t ck::scaled_type_convert< float16_t, bf8x16_ocp_t > (e8m0_bexp_t scale, bf8x16_ocp_t x)
template<>
__host__ float32_t ck::scaled_type_convert< float32_t, f8x32_ocp_t > (e8m0_bexp_t scale, f8x32_ocp_t x)
template<>
__host__ float32_t ck::scaled_type_convert< float32_t, bf8x32_ocp_t > (e8m0_bexp_t scale, bf8x32_ocp_t x)
template<>
__host__ f8_ocp_t ck::scaled_type_convert< f8_ocp_t, float > (e8m0_bexp_t scale, float x)
template<>
__host__ bf8_ocp_t ck::scaled_type_convert< bf8_ocp_t, float > (e8m0_bexp_t scale, float x)
template<>
__host__ f8x2_ocp_t ck::scaled_type_convert< f8x2_ocp_t, float2_t > (e8m0_bexp_t scale, float2_t x)
template<>
__host__ bf8x2_ocp_t ck::scaled_type_convert< bf8x2_ocp_t, float2_t > (e8m0_bexp_t scale, float2_t x)
template<>
__host__ f8x16_ocp_t ck::scaled_type_convert< f8x16_ocp_t, float16_t > (e8m0_bexp_t scale, float16_t x)
template<>
__host__ bf8x16_ocp_t ck::scaled_type_convert< bf8x16_ocp_t, float16_t > (e8m0_bexp_t scale, float16_t x)
template<>
__host__ f8x32_ocp_t ck::scaled_type_convert< f8x32_ocp_t, float32_t > (e8m0_bexp_t scale, float32_t x)
template<>
__host__ bf8x32_ocp_t ck::scaled_type_convert< bf8x32_ocp_t, float32_t > (e8m0_bexp_t scale, float32_t x)

Macro Definition Documentation

◆ CK_USE_NATIVE_MX_SUPPORT

#define CK_USE_NATIVE_MX_SUPPORT   0