Skip to content

Commit 0a59a2f

Browse files
utilForeverCopilot
andcommitted
build: suppress CUDA 13 C4505 warning on MSVC
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a93b0d0 commit 0a59a2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ if (USE_CUDA)
8181
endif()
8282
endif()
8383
list(APPEND DEFAULT_COMPILE_OPTIONS
84+
/wd4505 # -> disable warning: unreferenced function with internal linkage has been removed (CUDA 13 headers)
8485
/wd4515 # -> disable warning: [Thrust issue] 'detail': namespace uses itself
8586
/wd4996 # -> disable warning: [Thrust issue] 'strerror': This function or variable may be unsafe.
8687
/wd4800 # -> disable warning: [Thrust issue] forcing value to bool 'true' or 'false' (performance warning)

0 commit comments

Comments
 (0)