Skip to content

Commit

Permalink
added default CMAKE_CUDA_ARCHITECTURES
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed Oct 30, 2021
1 parent cbcc6d1 commit bdc95ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ include(${PROJECT_SOURCE_DIR}/cmake/DetectOptions.cmake)
if(ADIOS2_HAVE_CUDA)
set(CMAKE_CUDA_STANDARD 11)
set(CMAKE_CUDA_STANDARD_REQUIRED TRUE)
if(NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
# default 70 to match Summit V100
set(CMAKE_CUDA_ARCHITECTURES 70)
endif()
endif()

if(ADIOS2_HAVE_MPI)
Expand Down

0 comments on commit bdc95ff

Please sign in to comment.