We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c359d commit f6854daCopy full SHA for f6854da
1 file changed
CMakeLists.txt
@@ -157,6 +157,11 @@ if(BUILD_CUDA)
157
158
string(APPEND CMAKE_CUDA_FLAGS " --use_fast_math")
159
160
+ # It's safe for us to enable more aggressive compression for 13.0+
161
+ if (CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL "13.0")
162
+ string(APPEND CMAKE_CUDA_FLAGS " --compress-mode=size")
163
+ endif()
164
+
165
if(PTXAS_VERBOSE)
166
string(APPEND CMAKE_CUDA_FLAGS " -Xptxas=-v")
167
endif()
0 commit comments