From 21d0534167d71c806af7f88d70ba024cb85f34c3 Mon Sep 17 00:00:00 2001 From: Sean Xiaowen Zhang Date: Mon, 9 Sep 2024 11:05:27 -0700 Subject: [PATCH] fix assertion (#1790) --- include/cute/arch/copy_sm80.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cute/arch/copy_sm80.hpp b/include/cute/arch/copy_sm80.hpp index 43e3d0d72..e04181bfe 100644 --- a/include/cute/arch/copy_sm80.hpp +++ b/include/cute/arch/copy_sm80.hpp @@ -77,7 +77,7 @@ struct SM80_CP_ASYNC_CACHEGLOBAL using DRegisters = TD[1]; static_assert(sizeof(TS) == sizeof(TD), "cp.async requires sizeof(src_value_type) == sizeof(dst_value_type)"); - static_assert(sizeof(TS) == 4 || sizeof(TS) == 8 || sizeof(TS) == 16, "cp.async sizeof(TS) is not supported"); + static_assert(sizeof(TS) == 16, "cp.async sizeof(TS) is not supported"); CUTE_HOST_DEVICE static void copy(TS const& gmem_src, @@ -134,7 +134,7 @@ struct SM80_CP_ASYNC_CACHEGLOBAL_ZFILL using DRegisters = TD[1]; static_assert(sizeof(TS) == sizeof(TD), "cp.async requires sizeof(src_value_type) == sizeof(dst_value_type)"); - static_assert(sizeof(TS) == 4 || sizeof(TS) == 8 || sizeof(TS) == 16, "cp.async sizeof(TS) is not supported"); + static_assert(sizeof(TS) == 16, "cp.async sizeof(TS) is not supported"); CUTE_HOST_DEVICE static void copy(TS const& gmem_src,