File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,7 @@ if (CUDAToolkit_FOUND)
110110 target_link_libraries (ggml-cuda PRIVATE CUDA::cudart CUDA::cublas CUDA::cublasLt)
111111 endif ()
112112
113- if (GGML_CUDA_NO_VMM)
114- # No VMM requested, no need to link directly with the cuda driver lib (libcuda.so)
115- else ()
116- target_link_libraries (ggml-cuda PRIVATE CUDA::cuda_driver)
117- endif ()
113+ target_link_libraries (ggml-cuda PRIVATE CUDA::cuda_driver)
118114
119115 set (CUDA_CXX_FLAGS "" )
120116
Original file line number Diff line number Diff line change @@ -103,11 +103,7 @@ if (MUSAToolkit_FOUND)
103103 target_link_libraries (ggml-musa PRIVATE MUSA::musart MUSA::mublas mudnn)
104104 endif ()
105105
106- if (GGML_CUDA_NO_VMM)
107- # No VMM requested, no need to link directly with the musa driver lib (libmusa.so)
108- else ()
109- target_link_libraries (ggml-musa PRIVATE MUSA::musa_driver)
110- endif ()
106+ target_link_libraries (ggml-musa PRIVATE MUSA::musa_driver)
111107else ()
112108 message (FATAL_ERROR "MUSA Toolkit not found" )
113109endif ()
You can’t perform that action at this time.
0 commit comments