Skip to content

Commit

Permalink
Add kernels.cu to cmake target
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
  • Loading branch information
devreal committed Aug 6, 2024
1 parent 0ef8577 commit 0f0dc31
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@ if (TARGET tiledarray)
endif()

add_ttg_executable(tensortest madness/mra-device/tests/tensor_test.cc)
#if (TTG_HAVE_CUDA)
add_ttg_executable(mradevice-cuda madness/mra-device/mrattg-device.cc madness/mra-device/gl.cc RUNTIMES "parsec")
#endif (TTG_HAVE_CUDA)
if (TTG_HAVE_CUDA)
add_ttg_executable(mradevice-cuda
madness/mra-device/mrattg-device.cc
madness/mra-device/gl.cc
madness/mra-device/mrattg-device.cc
madness/mra-device/kernels.cu RUNTIMES "parsec")
endif (TTG_HAVE_CUDA)

if (TARGET MADworld)
add_ttg_executable(madness-1d madness/madness-1d/madness-1d.cc RUNTIMES "mad")
Expand Down

0 comments on commit 0f0dc31

Please sign in to comment.