/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck/utility/f8_utils.hpp File Reference#
f8_utils.hpp File Reference
#include "ck/utility/data_type.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) |