diff --git a/library/include/ck/library/utility/check_err.hpp b/library/include/ck/library/utility/check_err.hpp index 18f2930023..4f315e6ebe 100644 --- a/library/include/ck/library/utility/check_err.hpp +++ b/library/include/ck/library/utility/check_err.hpp @@ -151,14 +151,11 @@ check_err(const std::vector& out, } template -std::enable_if_t< +std::enable_if_t<(std::is_integral_v && !std::is_same_v) #ifdef CK_EXPERIMENTAL_BIT_INT_EXTENSION_INT4 - (is_signed_integral_v || std::is_same_v)&& -#else - is_signed_integral_v && + || std::is_same_v #endif - sizeof(T) <= sizeof(int64_t), - bool> + bool> check_err(const std::vector& out, const std::vector& ref, const std::string& msg = "Error: Incorrect results!",