Skip to content

Commit b6c1274

Browse files
author
asifpatankar
committed
Added support for NVIDIA GeForce RTX 4090
Signed-off-by: asifpatankar <[email protected]>
1 parent c0c633c commit b6c1274

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ else()
154154
61
155155
70
156156
75
157+
80
158+
86
159+
89 # Adding support for NVIDIA GeForce RTX 4090
157160
)
158161

159162
string(REGEX MATCH "aarch64" IS_ARM "${TRT_PLATFORM_ID}")
@@ -169,6 +172,9 @@ else()
169172
if (CUDA_VERSION VERSION_GREATER_EQUAL 11.1)
170173
list(APPEND GPU_ARCHS 86)
171174
endif()
175+
if (CUDA_VERSION VERSION_GREATER_EQUAL 12.1)
176+
list(APPEND GPU_ARCHS 89)
177+
endif()
172178

173179
message(STATUS "GPU_ARCHS is not defined. Generating CUDA code for default SMs: ${GPU_ARCHS}")
174180
endif()

0 commit comments

Comments
 (0)