include/ck/utility/mxf4_utils.hpp Source File#
mxf4_utils.hpp
Go to the documentation of this file.
Definition: check_err.hpp:24
__host__ __device__ bool is_nan< f4_t >(e8m0_bexp_t const scale, f4_t const dataBytes[[maybe_unused]])
Definition: mxf4_utils.hpp:12
__host__ __device__ f4_t sat_convert_to_type_sr< f4_t >(float value, uint32_t seed)
Definition: mxf4_utils.hpp:85
__host__ __device__ int get_exponent_value< e8m0_bexp_t >(e8m0_bexp_t x)
Definition: e8m0.hpp:73
__host__ __device__ bool is_zero< f4_t >(e8m0_bexp_t const scale, f4_t const data)
Definition: mxf4_utils.hpp:29
__host__ __device__ float to_float< f4_t >(e8m0_bexp_t const scale, f4_t const data)
Definition: mxf4_utils.hpp:41
__host__ __device__ bool is_inf< f4_t >(e8m0_bexp_t const scale[[maybe_unused]], f4_t const data[[maybe_unused]])
Definition: mxf4_utils.hpp:21
__host__ __device__ f4_t sat_convert_to_type< f4_t >(float value)
Definition: mxf4_utils.hpp:57
Definition: data_type.hpp:2831
__host__ static constexpr __device__ T QuietNaN()
Definition: data_type.hpp:2835
Definition: data_type.hpp:3078
Unsigned representation of a conventional biased Float32 exponent.
Definition: e8m0.hpp:25
Definition: mxfp_utils.hpp:9