Skip to content

Commit

Permalink
specify/set CUDA architecture to 80 for GitHub toolchain file
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSt98 committed Dec 19, 2024
1 parent add9bbc commit 6beb1d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/toolchains/github-ubuntu-nvhpc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ set( OpenACC_Fortran_FLAGS "-acc=gpu -mp" CACHE STRING "" )
# COMMON FLAGS
####################################################################

if(NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
set(CMAKE_CUDA_ARCHITECTURES 80)
endif()

set(ECBUILD_Fortran_FLAGS "-fpic")
set(ECBUILD_Fortran_FLAGS "${ECBUILD_Fortran_FLAGS} -Mframe")
set(ECBUILD_Fortran_FLAGS "${ECBUILD_Fortran_FLAGS} -Mbyteswapio")
Expand Down

0 comments on commit 6beb1d9

Please sign in to comment.