diff --git a/include/ck/utility/type_convert.hpp b/include/ck/utility/type_convert.hpp index ed83964936..65d8940377 100644 --- a/include/ck/utility/type_convert.hpp +++ b/include/ck/utility/type_convert.hpp @@ -62,24 +62,6 @@ inline __host__ __device__ constexpr bhalf_t type_convert(half_ return type_convert(x_fp32); } -// convert bfp16 to int32 via fp32 -template <> -inline __host__ __device__ constexpr int32_t type_convert(bhalf_t x) -{ - float x_fp32 = type_convert(x); - - return static_cast(x_fp32); -} - -// convert int32 to bfp16 via fp32 -template <> -inline __host__ __device__ constexpr bhalf_t type_convert(int32_t x) -{ - float x_fp32 = static_cast(x); - - return type_convert(x_fp32); -} - // convert bfp16 to int8 via fp32 template <> inline __host__ __device__ constexpr int8_t type_convert(bhalf_t x)