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 @@ -1284,7 +1284,7 @@ static void ggml_cuda_op_mul_mat_cublas(
12841284
12851285 CUBLAS_CHECK (cublasSetStream (ctx.cublas_handle (id), stream));
12861286
1287- if (GGML_CUDA_CC_IS_CDNA (cc) || GGML_CUDA_CC_IS_RDNA4 (cc) ) {
1287+ if (GGML_CUDA_CC_IS_CDNA (cc)) {
12881288 const float alpha = 1 .0f ;
12891289 const float beta = 0 .0f ;
12901290 CUBLAS_CHECK (
@@ -1901,7 +1901,7 @@ static void ggml_cuda_mul_mat_batched_cublas_impl(ggml_backend_cuda_context & ct
19011901
19021902 int id = ggml_cuda_get_device ();
19031903 const int cc = ggml_cuda_info ().devices [id].cc ;
1904- if (GGML_CUDA_CC_IS_CDNA (cc) || GGML_CUDA_CC_IS_RDNA4 (cc) ) {
1904+ if (GGML_CUDA_CC_IS_CDNA (cc)) {
19051905 cu_compute_type = CUBLAS_COMPUTE_32F;
19061906 alpha = &alpha_f32;
19071907 beta = &beta_f32;
You can’t perform that action at this time.
0 commit comments