From dd718e2a73fcbf220aa83d813d30f5e18e7edb59 Mon Sep 17 00:00:00 2001 From: Paul Taylor Date: Mon, 15 Mar 2021 18:55:19 -0500 Subject: [PATCH] set CMAKE_CUDA_ARCHITECTURES to OFF instead of undefined (#729) Follow up to https://github.com/rapidsai/rmm/pull/727 after discussing with @robertmaynard it was decided that setting `CMAKE_CUDA_ARCHITECTURES` to `OFF` instead of undefined is better. Authors: - Paul Taylor (@trxcllnt) Approvers: - Keith Kraus (@kkraus14) URL: https://github.com/rapidsai/rmm/pull/729 --- cmake/Modules/EvalGPUArchs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/EvalGPUArchs.cmake b/cmake/Modules/EvalGPUArchs.cmake index 2a3904441..2fae79c1c 100644 --- a/cmake/Modules/EvalGPUArchs.cmake +++ b/cmake/Modules/EvalGPUArchs.cmake @@ -11,7 +11,7 @@ # the License. # Unset this first in case it's set to -unset(CMAKE_CUDA_ARCHITECTURES CACHE) +set(CMAKE_CUDA_ARCHITECTURES OFF) # Enable CUDA so we can invoke nvcc enable_language(CUDA)