Skip to content

Commit 627f406

Browse files
ikawrakowIwan Kawrakow
andauthored
Fix new CUDA FA on Touring (#413)
Co-authored-by: Iwan Kawrakow <[email protected]>
1 parent 1d2da7f commit 627f406

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-cuda/fattn-new-mma.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,11 @@ struct fattn_mma_f16_config<576, 512> {
273273
}
274274

275275
static constexpr __device__ int get_nbatch_V2_device(int ncols) {
276-
#if __CUDA_ARCH__ == GML_CUDA_CC_TURING
276+
#if __CUDA_ARCH__ == CC_TURING
277277
return ncols <= 16 ? 64 : 128;
278278
#else
279279
return ncols <= 16 ? 256 : 128;
280-
#endif // __CUDA_ARCH__ == GML_CUDA_CC_TURING
280+
#endif // __CUDA_ARCH__ == CC_TURING
281281
}
282282

283283
static int get_nbatch_combine_host(const int /*cc*/, const int /*ncols*/) {

0 commit comments

Comments
 (0)