/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/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:13
__host__ __device__ f4_t sat_convert_to_type_sr< f4_t >(float value, uint32_t seed)
Definition: mxf4_utils.hpp:84
__host__ constexpr __device__ int32_t get_exponent_value< e8m0_bexp_t >(e8m0_bexp_t x)
Definition: e8m0.hpp:73
__host__ __device__ float to_float< f4_t >(e8m0_bexp_t const scale, f4_t const data)
Definition: mxf4_utils.hpp:40
__host__ __device__ bool is_inf< f4_t >(e8m0_bexp_t const scale[[maybe_unused]], f4_t const data[[maybe_unused]])
Definition: mxf4_utils.hpp:22
__host__ __device__ f4_t sat_convert_to_type< f4_t >(float value)
Definition: mxf4_utils.hpp:56
__host__ __device__ bool is_zero< f4_t >(e8m0_bexp_t const scale[[maybe_unused]], f4_t const data)
Definition: mxf4_utils.hpp:30
Definition: numeric_limits.hpp:309
__host__ static constexpr __device__ T QuietNaN()
Definition: numeric_limits.hpp:313
Definition: numeric_utils.hpp:10
Unsigned representation of a conventional biased Float32 exponent.
Definition: e8m0.hpp:25
Definition: mxfp_utils.hpp:14