mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-26 03:00:54 +00:00
Fix compilation error when CUDNN_HOME is defined. (#15348)
This commit is contained in:
parent
0fbbb6a43e
commit
026fb3ca1e
1 changed files with 1 additions and 0 deletions
|
|
@ -491,6 +491,7 @@ if (onnxruntime_USE_CUDA)
|
|||
target_link_libraries(onnxruntime_providers_cuda PRIVATE cublasLt cublas cudnn curand cufft ${ABSEIL_LIBS} ${ONNXRUNTIME_PROVIDERS_SHARED} Boost::mp11 safeint_interface)
|
||||
if(onnxruntime_CUDNN_HOME)
|
||||
target_include_directories(onnxruntime_providers_cuda PRIVATE ${onnxruntime_CUDNN_HOME}/include)
|
||||
target_link_directories(onnxruntime_providers_cuda PRIVATE ${onnxruntime_CUDNN_HOME}/lib)
|
||||
endif()
|
||||
|
||||
if (onnxruntime_USE_FLASH_ATTENTION)
|
||||
|
|
|
|||
Loading…
Reference in a new issue