From cc824843aca9cc8e8ee13596969e990807c41d57 Mon Sep 17 00:00:00 2001 From: MistEO Date: Thu, 17 Oct 2024 15:45:37 +0800 Subject: [PATCH] fix: onnxruntime_NVCC_THREADS=1 --- vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake b/vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake index 7c48c84..eb8aa60 100644 --- a/vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake +++ b/vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake @@ -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)