mxf4_utils.hpp File Reference

mxf4_utils.hpp File Reference#

Composable Kernel: mxf4_utils.hpp File Reference
mxf4_utils.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  ck
namespace  ck::utils

Functions

template<>
__host__ __device__ bool ck::utils::is_nan< f4_t > (e8m0_bexp_t const scale, f4_t const dataBytes)
template<>
__host__ __device__ bool ck::utils::is_inf< f4_t > (e8m0_bexp_t const scale, f4_t const data)
template<>
__host__ __device__ bool ck::utils::is_zero< f4_t > (e8m0_bexp_t const scale, f4_t const data)
template<>
__host__ __device__ float ck::utils::to_float< f4_t > (e8m0_bexp_t const scale, f4_t const data)
template<>
__host__ __device__ f4_t ck::utils::sat_convert_to_type< f4_t > (float value)
template<>
__host__ __device__ f4_t ck::utils::sat_convert_to_type_sr< f4_t > (float value, uint32_t seed)