Skip to content

Commit

Permalink
Set Kokkos to release-candidate-4.5.01
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau committed Dec 17, 2024
1 parent 12a460b commit 7dea5f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ 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()
endif()
endif()
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)
endif()

## PDI
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 7dea5f5

Please sign in to comment.