Skip to content

Commit

Permalink
Merge pull request #889 from psychocoderHPC/topic-removeDepricatedArc…
Browse files Browse the repository at this point in the history
…hitecture

remove deprecated NVIDIA architectures
  • Loading branch information
BenjaminW3 authored Nov 29, 2019
2 parents 9136998 + b6ebab4 commit 3836774
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion alpakaConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,10 @@ IF(ALPAKA_ACC_GPU_CUDA_ENABLE)
SET(ALPAKA_CUDA_VERSION "${CUDA_VERSION}")
IF(CUDA_VERSION VERSION_LESS 9.0)
SET(ALPAKA_CUDA_ARCH "20" CACHE STRING "GPU architecture")
ELSE()
ELSEIF(CUDA_VERSION VERSION_LESS 10.3)
SET(ALPAKA_CUDA_ARCH "30" CACHE STRING "GPU architecture")
ELSE()
SET(ALPAKA_CUDA_ARCH "35" CACHE STRING "GPU architecture")
ENDIF()
SET(ALPAKA_CUDA_COMPILER "nvcc" CACHE STRING "CUDA compiler")
SET_PROPERTY(CACHE ALPAKA_CUDA_COMPILER PROPERTY STRINGS "nvcc;clang")
Expand Down

0 comments on commit 3836774

Please sign in to comment.