mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Restore cuda in test
This commit is contained in:
parent
e74de85a53
commit
9f1c2ed767
1 changed files with 3 additions and 4 deletions
|
|
@ -929,10 +929,9 @@ if (onnxruntime_BUILD_SHARED_LIB)
|
|||
if(NOT WIN32)
|
||||
list(APPEND onnxruntime_shared_lib_test_LIBS nsync_cpp)
|
||||
endif()
|
||||
# TODO: Cuda is a separate shared library, can't just add .cu stuff to the main library
|
||||
# if (onnxruntime_USE_CUDA)
|
||||
# list(APPEND onnxruntime_shared_lib_test_LIBS onnxruntime_test_cuda_ops_lib cudart)
|
||||
# endif()
|
||||
if (onnxruntime_USE_CUDA)
|
||||
list(APPEND onnxruntime_shared_lib_test_LIBS onnxruntime_test_cuda_ops_lib cudart)
|
||||
endif()
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Android")
|
||||
list(APPEND onnxruntime_shared_lib_test_LIBS ${android_shared_libs})
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue