From: Johannes Gäßler Date: Thu, 18 Sep 2025 17:28:32 +0000 (+0200) Subject: CUDA: fix compilation on CC 6.0 (llama/16091) X-Git-Tag: v0.9.1~11 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7eaada8a7e94df1b7da0b52a7938ace3d02f43dd;p=pkg%2Fggml%2Fsources%2Fggml CUDA: fix compilation on CC 6.0 (llama/16091) --- diff --git a/src/ggml-cuda/fattn-tile.cu b/src/ggml-cuda/fattn-tile.cu index a2d9951e..131a5099 100644 --- a/src/ggml-cuda/fattn-tile.cu +++ b/src/ggml-cuda/fattn-tile.cu @@ -35,7 +35,6 @@ static int fattn_tile_get_kq_stride_host(const int D, const int ncols, const int switch (D) { case 64: case 128: - return 128; case 256: return ncols <= 16 ? 128 : 64; default: @@ -86,7 +85,6 @@ static constexpr __device__ int fattn_tile_get_kq_stride_device(int D, int ncols switch (D) { case 64: case 128: - return 128; case 256: return ncols <= 16 ? 128 : 64; default: