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 c0c633c commit b6c1274Copy full SHA for b6c1274
CMakeLists.txt
@@ -154,6 +154,9 @@ else()
154
61
155
70
156
75
157
+ 80
158
+ 86
159
+ 89 # Adding support for NVIDIA GeForce RTX 4090
160
)
161
162
string(REGEX MATCH "aarch64" IS_ARM "${TRT_PLATFORM_ID}")
@@ -169,6 +172,9 @@ else()
169
172
if (CUDA_VERSION VERSION_GREATER_EQUAL 11.1)
170
173
list(APPEND GPU_ARCHS 86)
171
174
endif()
175
+ if (CUDA_VERSION VERSION_GREATER_EQUAL 12.1)
176
+ list(APPEND GPU_ARCHS 89)
177
+ endif()
178
179
message(STATUS "GPU_ARCHS is not defined. Generating CUDA code for default SMs: ${GPU_ARCHS}")
180
0 commit comments