Skip to content

Commit a9f8bc8

Browse files
committed
add 1210
1 parent 289d526 commit a9f8bc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

csrc/xqa/mha.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ constexpr uint32_t cvtExpansion = exactDiv(inputElemSize, cacheElemSize);
8989
constexpr uint32_t preferedKHeadPartBytes = 64;
9090
__constant__ constexpr uint32_t cacheVTileSeqLen = 32;
9191
#else
92-
#if __CUDA_ARCH__ == 860 || __CUDA_ARCH__ == 890 || __CUDA_ARCH__ == 1200
92+
#if __CUDA_ARCH__ == 860 || __CUDA_ARCH__ == 890 || __CUDA_ARCH__ == 1200 || __CUDA_ARCH__ == 1210
9393
constexpr uint32_t preferedKHeadPartBytes = 64;
9494
__constant__ constexpr uint32_t cacheVTileSeqLen = 32;
9595
#elif __CUDA_ARCH__ == 800 || __CUDA_ARCH__ == 870 || __CUDA_ARCH__ == 900 || \

csrc/xqa/utils.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ inline constexpr int32_t kBAD_PAGE_INDEX = -1;
4242
__constant__ constexpr float kE4M3_MAX = 448.F;
4343

4444
#ifdef __CUDA_ARCH__
45-
#if __CUDA_ARCH__ == 860 || __CUDA_ARCH__ == 890 || __CUDA_ARCH__ == 1200
45+
#if __CUDA_ARCH__ == 860 || __CUDA_ARCH__ == 890 || __CUDA_ARCH__ == 1200 || __CUDA_ARCH__ == 1210
4646
constexpr uint32_t kMAX_SMEM_SIZE = (99u << 10);
4747
#elif __CUDA_ARCH__ == 800 || __CUDA_ARCH__ == 870
4848
constexpr uint32_t kMAX_SMEM_SIZE = (163u << 10);

0 commit comments

Comments
 (0)