CUDA: fix FP16 cuBLAS GEMM (#11396)

This commit is contained in:
Johannes Gäßler 2025-01-24 21:02:43 +01:00 committed by GitHub
parent 9fbadaef4f
commit c5d9effb49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1130,7 +1130,7 @@ static void ggml_cuda_op_mul_mat_cublas(
row_diff, src1_ncols, ne10,
&alpha_f16, src0_ptr, CUDA_R_16F, ne00,
src1_ptr, CUDA_R_16F, ne10,
&beta_f16, dst_dd_i, CUDA_R_16F, ldc,
&beta_f16, dst_f16.get(), CUDA_R_16F, ldc,
CUBLAS_COMPUTE_16F,
CUBLAS_GEMM_DEFAULT_TENSOR_OP));