Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

[DO NOT MERGE] Add CC 87 to compute archs #1862

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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: 3 additions & 3 deletions cmake/ThrustCudaConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
enable_language(CUDA)

set(THRUST_KNOWN_COMPUTE_ARCHS 35 37 50 52 53 60 61 62 70 72 75 80 86 90)
set(THRUST_KNOWN_COMPUTE_ARCHS 35 37 50 52 53 60 61 62 70 72 75 80 86 87 90)

# Split CUDA_FLAGS into 3 parts:
#
Expand All @@ -27,8 +27,8 @@ set(THRUST_CUDA_FLAGS_BASE "${CMAKE_CUDA_FLAGS}")
set(THRUST_CUDA_FLAGS_RDC)
set(THRUST_CUDA_FLAGS_NO_RDC)

# Archs that don't support RDC:
set(no_rdc_archs 53 62 72)
# Archs that don't support CDP:
set(no_rdc_archs 53 62 72 87)

# Find the highest arch:
list(SORT THRUST_KNOWN_COMPUTE_ARCHS)
Expand Down