Skip to content

Commit

Permalink
add CUDA_ARCHITECTURES
Browse files Browse the repository at this point in the history
  • Loading branch information
wh3248 committed Jun 13, 2024
1 parent 784641d commit 701f32e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pfsimulator/parflow_exe/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if (${PARFLOW_HAVE_HYPRE})
target_link_libraries(parflow PRIVATE CUDA::curand)
target_link_libraries(parflow PRIVATE CUDA::cusparse)
target_link_libraries(parflow PRIVATE CUDA::cublas)
set_target_properties(parflow PROPERTIES CUDA_ARCHITECTURES "35;50;;70;72")
endif (PARFLOW_ACCELERATOR_BACKEND STREQUAL "cuda")
endif (${PARFLOW_HAVE_HYPRE})

Expand Down

0 comments on commit 701f32e

Please sign in to comment.