From 89cd7b482b527585102d0f35c286f39ceff3ed7b Mon Sep 17 00:00:00 2001 From: Aleksander Dudek Date: Thu, 2 Oct 2025 05:28:18 -0500 Subject: [PATCH] Fix file formatting --- include/ck_tile/core/arch/generic_memory_space_atomic.hpp | 2 +- include/ck_tile/ops/epilogue/cshuffle_epilogue.hpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/ck_tile/core/arch/generic_memory_space_atomic.hpp b/include/ck_tile/core/arch/generic_memory_space_atomic.hpp index 9bb8ea37e4..9d1d1f8691 100644 --- a/include/ck_tile/core/arch/generic_memory_space_atomic.hpp +++ b/include/ck_tile/core/arch/generic_memory_space_atomic.hpp @@ -350,7 +350,7 @@ CK_TILE_DEVICE void atomic_add(fp16x2_t* p_dst, fp16x2_t const& x) new_.f162 = add_f16x2_t(cur_v.f162, x); new_v = new_.u32; cur_v.u32 = atomicCAS(dword_addr.u32_a, old_v, new_v); -} while(cur_v.u32 != old_v); + } while(cur_v.u32 != old_v); #endif } diff --git a/include/ck_tile/ops/epilogue/cshuffle_epilogue.hpp b/include/ck_tile/ops/epilogue/cshuffle_epilogue.hpp index a416dcec74..aa0a571c43 100644 --- a/include/ck_tile/ops/epilogue/cshuffle_epilogue.hpp +++ b/include/ck_tile/ops/epilogue/cshuffle_epilogue.hpp @@ -169,8 +169,10 @@ struct CShuffleEpilogue using DiDataType = remove_cvref_t>; using DiLayout = remove_cvref_t>; static_assert(std::is_same_v, "ELayout is not equal to DiLayout!"); - constexpr bool IsDRowMajor = std::is_same_v ? true : false; - constexpr bool IsDColMajor = std::is_same_v ? true : false; + constexpr bool IsDRowMajor = + std::is_same_v ? true : false; + constexpr bool IsDColMajor = + std::is_same_v ? true : false; if constexpr(IsDRowMajor) { return std::min(static_cast(NPerIteration),