Skip to content

Commit

Permalink
Correct style issues found by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Dec 13, 2022
1 parent 749f901 commit 46ab0da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rapids-cmake/cuda/init_architectures.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ function(rapids_cuda_init_architectures project_name)
set(cuda_arch_mode "RAPIDS")
endif()

# This needs to be run before enabling the CUDA language since RAPIDS supports magic
# values like `RAPIDS`, `ALL`, and `NATIVE` which if propagated cause CMake to fail to determine
# the CUDA compiler
# This needs to be run before enabling the CUDA language since RAPIDS supports magic values like
# `RAPIDS`, `ALL`, and `NATIVE` which if propagated cause CMake to fail to determine the CUDA
# compiler
if(cuda_arch_mode STREQUAL "RAPIDS")
set(CMAKE_CUDA_ARCHITECTURES OFF PARENT_SCOPE)
set(load_file "${CMAKE_CURRENT_FUNCTION_LIST_DIR}/detail/invoke_set_all_architectures.cmake")
Expand Down

0 comments on commit 46ab0da

Please sign in to comment.