From cffa070b08b26893117e212f5a6b16c73ded1d5a Mon Sep 17 00:00:00 2001 From: zhang hui Date: Tue, 16 Dec 2025 10:01:30 +0800 Subject: [PATCH] fix j-major wrong ne on CDNA --- ggml/src/ggml-cuda/mma.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-cuda/mma.cuh b/ggml/src/ggml-cuda/mma.cuh index 74e58c322a..96d25c5801 100644 --- a/ggml/src/ggml-cuda/mma.cuh +++ b/ggml/src/ggml-cuda/mma.cuh @@ -446,7 +446,7 @@ namespace ggml_cuda_mma { static constexpr int J = J_; static constexpr data_layout dl = DATA_LAYOUT_J_MAJOR; - static constexpr int ne = I * J / 32; + static constexpr int ne = tile::ne; T x[ne] = {0}; static constexpr __device__ bool supported() {