From 95d9ebdd6c1e03e291cb9d55e3cbf433e6c14d6b Mon Sep 17 00:00:00 2001 From: Jake Hemstad Date: Thu, 16 Feb 2023 06:46:52 -0600 Subject: [PATCH 1/3] Add CC 87 to compute archs. --- cmake/ThrustCudaConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ThrustCudaConfig.cmake b/cmake/ThrustCudaConfig.cmake index 9bcb9c84a..ffb312d6a 100644 --- a/cmake/ThrustCudaConfig.cmake +++ b/cmake/ThrustCudaConfig.cmake @@ -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: # From 552e4fbead21e1fe1f2fa6cf1dbab3bcc576ec7d Mon Sep 17 00:00:00 2001 From: Jake Hemstad Date: Thu, 16 Feb 2023 07:17:25 -0600 Subject: [PATCH 2/3] Add CC 87 to list of archs that don't support CDP. RDC is often conflated with CDP in Thrust/CUB. --- cmake/ThrustCudaConfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/ThrustCudaConfig.cmake b/cmake/ThrustCudaConfig.cmake index ffb312d6a..841ce8e2f 100644 --- a/cmake/ThrustCudaConfig.cmake +++ b/cmake/ThrustCudaConfig.cmake @@ -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) From 837a0b3d65a283f6b4b83da7927396695763f018 Mon Sep 17 00:00:00 2001 From: Jake Hemstad Date: Thu, 16 Feb 2023 07:32:57 -0600 Subject: [PATCH 3/3] DO NOT MERGE. Points CUB submodule to CUB PR#628. --- dependencies/cub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/cub b/dependencies/cub index e4c1881fe..7fcc44d16 160000 --- a/dependencies/cub +++ b/dependencies/cub @@ -1 +1 @@ -Subproject commit e4c1881fe56a62aea291f49e51473c1a6a0f68ad +Subproject commit 7fcc44d16207f76336868eeac153cf4368d8c9de