Skip to content

Commit

Permalink
Use version 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau committed Oct 8, 2024
1 parent 1942714 commit 71f173f
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 @@ -173,7 +173,7 @@ if("${DDC_BUILD_KERNELS_FFT}")

if("${DDC_KokkosFFT_DEPENDENCY_POLICY}" STREQUAL "AUTO")
if(NOT TARGET KokkosFFT::fft)
find_package(KokkosFFT 0.2 CONFIG QUIET)
find_package(KokkosFFT 0.2.1...<2 CONFIG QUIET)
if(NOT KokkosFFT_FOUND)
option(KokkosFFT_ENABLE_HOST_AND_DEVICE "Enable FFT on both host and device" ON)
add_subdirectory(vendor/kokkos-fft)
Expand All @@ -183,7 +183,7 @@ if("${DDC_BUILD_KERNELS_FFT}")
option(KokkosFFT_ENABLE_HOST_AND_DEVICE "Enable FFT on both host and device" ON)
add_subdirectory(vendor/kokkos-fft)
elseif("${DDC_KokkosFFT_DEPENDENCY_POLICY}" STREQUAL "INSTALLED")
find_package(KokkosFFT 0.2 CONFIG REQUIRED)
find_package(KokkosFFT 0.2.1...<2 CONFIG REQUIRED)
endif()

target_link_libraries(DDC INTERFACE KokkosFFT::fft)
Expand Down
2 changes: 1 addition & 1 deletion cmake/DDCConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
include(CMakeFindDependencyMacro)

if(@DDC_BUILD_KERNELS_FFT@)
find_dependency(KokkosFFT 0.2 CONFIG REQUIRED)
find_dependency(KokkosFFT 0.2.1...<2 CONFIG REQUIRED)
endif()

if(@DDC_BUILD_PDI_WRAPPER@)
Expand Down
2 changes: 1 addition & 1 deletion vendor/kokkos-fft

0 comments on commit 71f173f

Please sign in to comment.