blob: a9eb4341ffa4f4b98fbe3ae50f73cbdddb6b578f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff --git a/include/cutlass/gemm/collective/builders/sm120_common.inl b/include/cutlass/gemm/collective/builders/sm120_common.inl
--- a/include/cutlass/gemm/collective/builders/sm120_common.inl
+++ b/include/cutlass/gemm/collective/builders/sm120_common.inl
@@ -81,7 +81,15 @@ auto
sm120_rr_smem_copy_selector_B() {
if constexpr (UseF8f6f4) {
if constexpr (sizeof_bits_v<ElementB> == 6) {
- return SM100_SU6_DU8x16_x4_LDSM_N{};
+ if constexpr (TileShapeN < 16) {
+ return SM100_SU6_DU8x16_x1_LDSM_N{};
+ }
+ else if constexpr (TileShapeN < 32) {
+ return SM100_SU6_DU8x16_x2_LDSM_N{};
+ }
+ else {
+ return SM100_SU6_DU8x16_x4_LDSM_N{};
+ }
}
else if constexpr (sizeof_bits_v<ElementB> == 4) {
if constexpr (TileShapeN < 16) {
|