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

Relax required Kokkos version #20

Merged
merged 3 commits into from
Jul 28, 2023
Merged
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
14 changes: 11 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@ set(HPX_KOKKOS_VERSION_STRING "${HPX_KOKKOS_VERSION_MAJOR}.${HPX_KOKKOS_VERSION_

# Dependencies
find_package(HPX 1.8.1 REQUIRED)
# TODO: The version requirement needs to be bumped once
# https://github.com/kokkos/kokkos/pull/5628 is merged and released.
find_package(Kokkos 3.7.99 REQUIRED)
find_package(Kokkos 3.6.00 REQUIRED)

# Check that Kokkos and HPX options are consistent.

if(Kokkos_VERSION VERSION_LESS 4.1.00)
message(INFO " Using Kokkos Version with HPX futures backend")
kokkos_check(DEVICES HPX OPTIONS HPX_ASYNC_DISPATCH)
else()
message(INFO " Using Kokkos Version with HPX Sender/Receiver backend")
kokkos_check(DEVICES HPX)
endif()

if(Kokkos_ENABLE_CUDA)
kokkos_check(OPTIONS CUDA_LAMBDA CUDA_LAMBDA)
Expand Down
Loading