Commit 6de7d10d authored by Rostyslav Geyyer's avatar Rostyslav Geyyer
Browse files

Remove leftover comments

parent f605b332
...@@ -134,12 +134,6 @@ __host__ __device__ Y run_cast_to_f8(X x, uint32_t rng) ...@@ -134,12 +134,6 @@ __host__ __device__ Y run_cast_to_f8(X x, uint32_t rng)
template <typename X, typename Y, bool negative_zero_nan> template <typename X, typename Y, bool negative_zero_nan>
__host__ __device__ Y run_cast_from_f8(X x) __host__ __device__ Y run_cast_from_f8(X x)
{ {
// check data type
// constexpr bool is_half = std::is_same<Y, half_t>::value;
// constexpr bool is_float = std::is_same<Y, float>::value;
// constexpr bool is_f8_t = std::is_same<X, f8_t>::value;
// constexpr bool is_bf8_t = std::is_same<X, bf8_t>::value;
// fp8/bf8 exponent/mantissa layout // fp8/bf8 exponent/mantissa layout
constexpr int in_exp = NumericUtils<X>::exp; constexpr int in_exp = NumericUtils<X>::exp;
constexpr int in_mant = NumericUtils<X>::mant; constexpr int in_mant = NumericUtils<X>::mant;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment