llama.cpp gfx1151 optimizations for Qwen3.8 27B A developer contributed optimizations to llama.cpp for AMD's gfx1151 GPU, specifically targeting Qwen3.8 27B's SSM convolution input pattern. The patch introduces a fast LDS-transpose path for dim-0 concatenation when the second source tensor is transposed-contiguous, staging a 64x64 tile through shared memory to achieve fully coalesced memory access. Benchmarks on the Qwen3.5 shape show throughput improved from 35 GB/s to 70 GB/s. | diff --git a/ggml/src/ggml-cuda/concat.cu b/ggml/src/ggml-cuda/concat.cu | | | index 6df89013c..e5337ec30 100644 | | | --- a/ggml/src/ggml-cuda/concat.cu | | | +++ b/ggml/src/ggml-cuda/concat.cu | | | @@ -79,6 +79,76 @@ static void concat cont cuda const T x, | | | concat cont