Skip to content

Commit

Permalink
Build CUDA code for GPU executables
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchwiebert committed Jul 8, 2024
1 parent fbf6c9f commit 0a97b18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMake/GOMCCUDASetup.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Find CUDA is enabled, set it up
set(CMAKE_CUDA_COMP_FLAGS -DGOMC_CUDA -DTHRUST_IGNORE_DEPRECATED_CPP_DIALECT)
set(CMAKE_COMP_FLAGS ${CMAKE_COMP_FLAGS} -DGOMC_CUDA)

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
message("-- Debug build type detected, passing '-g -G --keep' to nvcc")
Expand Down

0 comments on commit 0a97b18

Please sign in to comment.