Skip to content

Commit

Permalink
Update cuda.cmake (#61879)
Browse files Browse the repository at this point in the history
* Update cuda.cmake

* ci
  • Loading branch information
co63oc authored Feb 22, 2024
1 parent 77d7aa5 commit 9ef178a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/cuda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function(detect_installed_gpus out_variable)
set(CUDA_gpu_detect_output
${nvcc_out}
CACHE INTERNAL
"Returned GPU architetures from detect_installed_gpus tool"
"Returned GPU architectures from detect_installed_gpus tool"
FORCE)
endif()
endif()
Expand Down Expand Up @@ -122,7 +122,7 @@ function(select_nvcc_arch_flags out_variable out_arch_bin)
# set CUDA_ARCH_NAME strings (so it will be seen as dropbox in CMake-Gui)
set(CUDA_ARCH_NAME
${archs_name_default}
CACHE STRING "Select target NVIDIA GPU achitecture.")
CACHE STRING "Select target NVIDIA GPU architecture.")
set_property(CACHE CUDA_ARCH_NAME PROPERTY STRINGS "" ${archs_names})
mark_as_advanced(CUDA_ARCH_NAME)

Expand Down

0 comments on commit 9ef178a

Please sign in to comment.