/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/mxf4_utils.hpp File Reference#
mxf4_utils.hpp File Reference
Go to the source code of this file.
Namespaces | |
ck | |
ck::utils | |
Functions | |
template<> | |
__host__ __device__ bool | ck::utils::is_nan< f4_t > (e8m0_bexp_t const scale, f4_t const dataBytes[[maybe_unused]]) |
template<> | |
__host__ __device__ bool | ck::utils::is_inf< f4_t > (e8m0_bexp_t const scale[[maybe_unused]], f4_t const data[[maybe_unused]]) |
template<> | |
__host__ __device__ bool | ck::utils::is_zero< f4_t > (e8m0_bexp_t const scale[[maybe_unused]], 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) |