File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1285,7 +1285,7 @@ static void ggml_cuda_op_mul_mat_cublas(
12851285
12861286 CUBLAS_CHECK (cublasSetStream (ctx.cublas_handle (id), stream));
12871287
1288- if (GGML_CUDA_CC_IS_CDNA (cc) || GGML_CUDA_CC_IS_RDNA4 (cc) ) {
1288+ if (GGML_CUDA_CC_IS_CDNA (cc)) {
12891289 const float alpha = 1 .0f ;
12901290 const float beta = 0 .0f ;
12911291 CUBLAS_CHECK (
@@ -1902,7 +1902,7 @@ static void ggml_cuda_mul_mat_batched_cublas_impl(ggml_backend_cuda_context & ct
19021902
19031903 int id = ggml_cuda_get_device ();
19041904 const int cc = ggml_cuda_info ().devices [id].cc ;
1905- if (GGML_CUDA_CC_IS_CDNA (cc) || GGML_CUDA_CC_IS_RDNA4 (cc) ) {
1905+ if (GGML_CUDA_CC_IS_CDNA (cc)) {
19061906 cu_compute_type = CUBLAS_COMPUTE_32F;
19071907 alpha = &alpha_f32;
19081908 beta = &beta_f32;
You can’t perform that action at this time.
0 commit comments