From 30338c56434c348fdd6cf748b35124ce58be52d6 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 18 Dec 2023 14:21:38 +0200 Subject: [PATCH] Update ggml-cuda.cu Co-authored-by: slaren --- ggml-cuda.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml-cuda.cu b/ggml-cuda.cu index 4e36540b6..eaa9db4e6 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -8419,8 +8419,8 @@ static void ggml_cuda_mul_mat_mat_batched_cublas(const ggml_tensor * src0, const cu_compute_type = CUBLAS_COMPUTE_32F; cu_data_type = CUDA_R_32F; - alpha = (const char *) &alpha_f32; - beta = (const char *) &beta_f32; + alpha = &alpha_f32; + beta = &beta_f32; } GGML_ASSERT(ne12 % ne02 == 0);