diff --git a/include/ck_tile/core/arch/amd_buffer_addressing_builtins.hpp b/include/ck_tile/core/arch/amd_buffer_addressing_builtins.hpp index 03f6ab9bbc..4a86ca785d 100644 --- a/include/ck_tile/core/arch/amd_buffer_addressing_builtins.hpp +++ b/include/ck_tile/core/arch/amd_buffer_addressing_builtins.hpp @@ -1405,7 +1405,8 @@ CK_TILE_DEVICE thread_buffer amd_buffer_load_impl(int32x4_t src_wave_buffe (std::is_same::value && (N == 1 || N == 2 || N == 4 || N == 8 || N == 16)) || (std::is_same::value && (N == 1 || N == 2 || N == 4 || N == 8 || N == 16)) || (std::is_same::value && (N == 1 || N == 2 || N == 4 || N == 8 || N == 16)) || - (std::is_same::value && (N == 1 || N == 2 || N == 4 || N == 8 || N == 16)) || + (std::is_same::value && + (N == 1 || N == 2 || N == 4 || N == 8 || N == 16)) || (std::is_same::value && (N == 1 || N == 2 || N == 4 || N == 8 || N == 16 || N == 32)), "wrong! not implemented"); diff --git a/include/ck_tile/host/check_err.hpp b/include/ck_tile/host/check_err.hpp index 0d889c21d4..91d387796f 100644 --- a/include/ck_tile/host/check_err.hpp +++ b/include/ck_tile/host/check_err.hpp @@ -652,7 +652,7 @@ std::enable_if_t<(std::is_same_v, ranges::range_val * @brief Check errors between pk_fp4_t ranges * * Compares two ranges of pk_fp4_t without tolerance. - * This specialization handles ck_tile::pk_fp4_t type. + * This specialization handles ck_tile::pk_fp4_t type. * * @tparam Range Type of output range * @tparam RefRange Type of reference range @@ -663,7 +663,8 @@ std::enable_if_t<(std::is_same_v, ranges::range_val */ template std::enable_if_t<(std::is_same_v, ranges::range_value_t> && - std::is_same_v, pk_fp4_t>), bool> + std::is_same_v, pk_fp4_t>), + bool> CK_TILE_HOST check_err(const Range& out, const RefRange& ref, const std::string& msg = "Error: Incorrect results!", @@ -673,14 +674,14 @@ std::enable_if_t<(std::is_same_v, ranges::range_val if(check_size_mismatch(out, ref, msg)) return false; - int err_count = 0; + int err_count = 0; auto update_err = [&](pk_fp4_raw_t o, pk_fp4_raw_t r, std::size_t index) { if(o != r) { - std::cerr << msg << " out[" << index << "] != ref[" << index << "]: " - << type_convert(pk_fp4_t{o}) << " != " << type_convert(pk_fp4_t{r}) - << std::endl; + std::cerr << msg << " out[" << index << "] != ref[" << index + << "]: " << type_convert(pk_fp4_t{o}) + << " != " << type_convert(pk_fp4_t{r}) << std::endl; ++err_count; } }; @@ -689,8 +690,8 @@ std::enable_if_t<(std::is_same_v, ranges::range_val { const pk_fp4_t o = *std::next(std::begin(out), i); const pk_fp4_t r = *std::next(std::begin(ref), i); - update_err(o._unpack(number<0>{}), r._unpack(number<0>{}), i*2); - update_err(o._unpack(number<1>{}), r._unpack(number<1>{}), i*2 + 1); + update_err(o._unpack(number<0>{}), r._unpack(number<0>{}), i * 2); + update_err(o._unpack(number<1>{}), r._unpack(number<1>{}), i * 2 + 1); } if(err_count > 0) {