Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some initial examples #34

Merged
merged 10 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,38 @@ install(
install(FILES cppuddle-config.cmake DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/cmake/CPPuddle/)
install(EXPORT CPPuddle NAMESPACE CPPuddle:: DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/cmake/CPPuddle/)

#Boost::boost Boost::program_options HPX::hpx Kokkos::kokkos HPXKokkos::hpx_kokkos buffer_manager stream_manager
if (CPPUDDLE_WITH_TESTS)
if (CPPUDDLE_WITH_CUDA)
add_hpx_executable(
recycling-with-hpx-cuda
DEPENDENCIES
Boost::boost Boost::program_options HPX::hpx buffer_manager stream_manager
COMPONENT_DEPENDENCIES iostreams
SOURCES
examples/recycling-with-hpx-cuda.cu
)

if (CPPUDDLE_WITH_KOKKOS)
add_hpx_executable(
recycling-with-hpx-kokkos
DEPENDENCIES
Boost::boost Boost::program_options Kokkos::kokkos HPXKokkos::hpx_kokkos HPX::hpx buffer_manager stream_manager
COMPONENT_DEPENDENCIES iostreams
SOURCES
examples/recycling-with-hpx-kokkos.cpp
)
add_hpx_executable(
kernel-aggregation-with-hpx-kokkos
DEPENDENCIES
Boost::boost Boost::program_options Kokkos::kokkos HPXKokkos::hpx_kokkos HPX::hpx buffer_manager stream_manager
COMPONENT_DEPENDENCIES iostreams
SOURCES
examples/kernel-aggregation-with-hpx-kokkos.cpp
)
endif()
endif()
endif()
#------------------------------------------------------------------------------------------------------------
# Define cmake targets for all tests/example executables

Expand Down
Loading
Loading