From: yulo Date: Fri, 28 Nov 2025 07:24:30 +0000 (+0800) Subject: HIP: enable mul_mat_f for RDNA4 (llama/17437) X-Git-Tag: upstream/0.9.4.395~104 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=3e0c1113ef4ea0654303c9ba19365f3c568c082f;p=pkg%2Fggml%2Fsources%2Fggml HIP: enable mul_mat_f for RDNA4 (llama/17437) * enable mmf for rdna4 * move some mmvf to mmf * revert lds128 for wmma loading * Revert "revert lds128 for wmma loading" This reverts commit db9ae8b6b4738a5def5b393caa1611d52133e9b5. * Revert "enable mmf for rdna4" This reverts commit 698c9f24187b990e35c3b73a8067e5387e6ddbd4. * Revert "move some mmvf to mmf" This reverts commit 99b92bd6653cc8593607f641e44606391691792f. * enable mul_mat for rdna4 --------- Co-authored-by: zhang hui --- diff --git a/src/ggml-cuda/mmf.cu b/src/ggml-cuda/mmf.cu index 5c51a222..be2ad1c6 100644 --- a/src/ggml-cuda/mmf.cu +++ b/src/ggml-cuda/mmf.cu @@ -151,7 +151,7 @@ bool ggml_cuda_should_use_mmf(enum ggml_type type, int cc, int warp_size, const return false; } } else { - if (src1_ncols > 16 || GGML_CUDA_CC_IS_RDNA4(cc)) { + if (src1_ncols > 16) { return false; } }