mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-06 05:28:37 +00:00
Allow unsigned integer arguments for check_err()
This commit is contained in:
@@ -151,14 +151,11 @@ check_err(const std::vector<T>& out,
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
std::enable_if_t<
|
||||
std::enable_if_t<(std::is_integral_v<T> && !std::is_same_v<T, bhalf_t>)
|
||||
#ifdef CK_EXPERIMENTAL_BIT_INT_EXTENSION_INT4
|
||||
(is_signed_integral_v<T> || std::is_same_v<T, ck::int4_t>)&&
|
||||
#else
|
||||
is_signed_integral_v<T> &&
|
||||
|| std::is_same_v<T, int4_t>
|
||||
#endif
|
||||
sizeof(T) <= sizeof(int64_t),
|
||||
bool>
|
||||
bool>
|
||||
check_err(const std::vector<T>& out,
|
||||
const std::vector<T>& ref,
|
||||
const std::string& msg = "Error: Incorrect results!",
|
||||
|
||||
Reference in New Issue
Block a user