Skip to content

Commit

Permalink
fix: onnxruntime_NVCC_THREADS=1
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Oct 17, 2024
1 parent fa22b82 commit cc82484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ vcpkg_execute_build_process(
set(PLATFORM_OPTIONS )

if(VCPKG_TARGET_IS_WINDOWS)
set(PLATFORM_OPTIONS ${PLATFORM_OPTIONS} "-Donnxruntime_USE_DML=ON" "-Donnxruntime_USE_CUDA=ON" "-Donnxruntime_NVCC_THREADS=0")
set(PLATFORM_OPTIONS ${PLATFORM_OPTIONS} "-Donnxruntime_USE_DML=ON" "-Donnxruntime_USE_CUDA=ON" "-Donnxruntime_NVCC_THREADS=1")
elseif(VCPGK_TARGET_IS_LINUX)
set(PLATFORM_OPTIONS ${PLATFORM_OPTIONS} "-Donnxruntime_USE_CUDA=ON")
elseif(VCPKG_TARGET_IS_OSX)
Expand Down

0 comments on commit cc82484

Please sign in to comment.