/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/f8_utils.hpp File Reference#
f8_utils.hpp File Reference
#include "ck/utility/numeric_utils.hpp"
Go to the source code of this file.
Namespaces | |
ck | |
ck::utils | |
Enumerations | |
enum class | ck::f8_rounding_mode { ck::standard , ck::stochastic } |
Functions | |
__host__ int | ck::clz (uint32_t x) |
template<typename X , typename Y , bool negative_zero_nan, bool clip, bool stoch> | |
__host__ __device__ Y | ck::utils::cast_to_f8 (X x, uint32_t rng) |
template<typename X , typename Y , bool negative_zero_nan> | |
__host__ __device__ Y | ck::utils::cast_from_f8 (X x) |