Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ else()
61
70
75
80
86
89 # Adding support for NVIDIA GeForce RTX 4090
)

string(REGEX MATCH "aarch64" IS_ARM "${TRT_PLATFORM_ID}")
Expand All @@ -169,6 +172,9 @@ else()
if (CUDA_VERSION VERSION_GREATER_EQUAL 11.1)
list(APPEND GPU_ARCHS 86)
endif()
if (CUDA_VERSION VERSION_GREATER_EQUAL 12.1)
list(APPEND GPU_ARCHS 89)
endif()

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