Skip to content

Commit 21d0534

Browse files
authored
fix assertion (#1790)
1 parent 323c817 commit 21d0534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cute/arch/copy_sm80.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct SM80_CP_ASYNC_CACHEGLOBAL
7777
using DRegisters = TD[1];
7878

7979
static_assert(sizeof(TS) == sizeof(TD), "cp.async requires sizeof(src_value_type) == sizeof(dst_value_type)");
80-
static_assert(sizeof(TS) == 4 || sizeof(TS) == 8 || sizeof(TS) == 16, "cp.async sizeof(TS) is not supported");
80+
static_assert(sizeof(TS) == 16, "cp.async sizeof(TS) is not supported");
8181

8282
CUTE_HOST_DEVICE static void
8383
copy(TS const& gmem_src,
@@ -134,7 +134,7 @@ struct SM80_CP_ASYNC_CACHEGLOBAL_ZFILL
134134
using DRegisters = TD[1];
135135

136136
static_assert(sizeof(TS) == sizeof(TD), "cp.async requires sizeof(src_value_type) == sizeof(dst_value_type)");
137-
static_assert(sizeof(TS) == 4 || sizeof(TS) == 8 || sizeof(TS) == 16, "cp.async sizeof(TS) is not supported");
137+
static_assert(sizeof(TS) == 16, "cp.async sizeof(TS) is not supported");
138138

139139
CUTE_HOST_DEVICE static void
140140
copy(TS const& gmem_src,

0 commit comments

Comments
 (0)