Skip to content

Commit

Permalink
Set Kokkos to 4.5.01
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau committed Jan 5, 2025
1 parent f149b49 commit 9dec723
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ set(DDC_Kokkos_DEPENDENCY_POLICY
set_property(CACHE DDC_Kokkos_DEPENDENCY_POLICY PROPERTY STRINGS "${DDC_DEPENDENCY_POLICIES}")
if("${DDC_Kokkos_DEPENDENCY_POLICY}" STREQUAL "AUTO")
if(NOT TARGET Kokkos::kokkos)
find_package(Kokkos 4.4...4.5 QUIET)
find_package(Kokkos 4.4...<5 QUIET)
if(NOT Kokkos_FOUND)
ddc_configure_kokkos()
else()
Expand All @@ -58,7 +58,7 @@ if("${DDC_Kokkos_DEPENDENCY_POLICY}" STREQUAL "AUTO")
elseif("${DDC_Kokkos_DEPENDENCY_POLICY}" STREQUAL "EMBEDDED")
ddc_configure_kokkos()
elseif("${DDC_Kokkos_DEPENDENCY_POLICY}" STREQUAL "INSTALLED")
find_package(Kokkos 4.4...4.5 REQUIRED)
find_package(Kokkos 4.4...<5 REQUIRED)
ddc_check_required_kokkos_options()
endif()

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To use DDC core, one needs the following dependencies:

* a C++17-compliant compiler
* CMake 3.22...<4
* Kokkos 4.4...4.5
* Kokkos 4.4...<5
* (optional, micro benchmarking) Benchmark 1.8...<2
* (optional, documentation) Doxygen 1.8.13...<2
* (optional, unit-testing) GoogleTest 1.14...<2
Expand Down
2 changes: 1 addition & 1 deletion cmake/DDCConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endmacro()

set(DDC_BUILD_DOUBLE_PRECISION @DDC_BUILD_DOUBLE_PRECISION@)

ddc_find_dependency(Kokkos 4.4...4.5)
ddc_find_dependency(Kokkos 4.4...<5)

if(@DDC_BUILD_KERNELS_FFT@)
ddc_find_dependency(KokkosFFT 0.2.1...<1)
Expand Down
2 changes: 1 addition & 1 deletion vendor/kokkos
Submodule kokkos updated 656 files

0 comments on commit 9dec723

Please sign in to comment.