We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c69cec commit fcd17cdCopy full SHA for fcd17cd
1 file changed
cpp/cmake/modules/ConfigureCUDA.cmake
@@ -49,6 +49,9 @@ list(APPEND CUVS_CXX_FLAGS "-DCUDA_API_PER_THREAD_DEFAULT_STREAM")
49
list(APPEND CUVS_CUDA_FLAGS "-DCUDA_API_PER_THREAD_DEFAULT_STREAM")
50
# make sure we produce smallest binary size
51
list(APPEND CUVS_CUDA_FLAGS -Xfatbin=-compress-all)
52
+if(CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA" AND CMAKE_CUDA_COMPILER_VERSION VERSION_EQUAL 12.9)
53
+ list(APPEND CUVS_CUDA_FLAGS -Xfatbin=--compress-level=3)
54
+endif()
55
56
# Option to enable line info in CUDA device compilation to allow introspection when profiling /
57
# memchecking
0 commit comments