Skip to content

Commit f18ad77

Browse files
committed
bugfix
1 parent f763866 commit f18ad77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/src/ggml-cuda/ggml-cuda.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,7 @@ static void ggml_cuda_op_mul_mat_cublas(
12161216

12171217
CUBLAS_CHECK(cublasSetStream(ctx.cublas_handle(id), stream));
12181218

1219+
const int compute_capability = ggml_cuda_info().devices[ctx.device].cc;
12191220
if (GGML_CUDA_CC_IS_CDNA(compute_capability) || GGML_CUDA_CC_IS_RDNA4(compute_capability)) {
12201221
const float alpha = 1.0f;
12211222
const float beta = 0.0f;

0 commit comments

Comments
 (0)