mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-13 18:08:13 +00:00
fix
This commit is contained in:
parent
6bf678a8d9
commit
c00766920c
1 changed files with 1 additions and 1 deletions
|
|
@ -1513,7 +1513,7 @@ if (onnxruntime_USE_CUDA)
|
|||
find_package(CUDAToolkit REQUIRED)
|
||||
|
||||
# test config
|
||||
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -gencode=arch=compute_80,code=[lto_75,sm_75]") # A series
|
||||
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -gencode=arch=compute_75,code=[lto_75,sm_75]") # A series
|
||||
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --relocatable-device-code=true")
|
||||
if (msvc)
|
||||
add_compile_options("$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcompiler /wd4505>")
|
||||
|
|
|
|||
Loading…
Reference in a new issue