correct KOKKOS FFT output for CMake summary one more time

This commit is contained in:
Axel Kohlmeyer 2020-01-23 00:27:00 -05:00
parent df23460e18
commit f14b200b6a
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 8 additions and 6 deletions

View File

@ -744,13 +744,15 @@ if(PKG_KSPACE)
else()
message(STATUS "Using non-threaded FFTs")
endif()
if(PKG_KOKKOS AND KOKKOS_ENABLE_CUDA)
if (${FFT} STREQUAL "KISS")
message(STATUS "Kokkos FFT: KISS")
if(PKG_KOKKOS)
if(KOKKOS_ENABLE_CUDA)
if (${FFT} STREQUAL "KISS")
message(STATUS "Kokkos FFT: KISS")
else()
message(STATUS "Kokkos FFT: cuFFT")
endif()
else()
message(STATUS "Kokkos FFT: cuFFT")
message(STATUS "Kokkos FFT: ${FFT}")
endif()
else()
message(STATUS "Kokkos FFT: ${FFT}")
endif()
endif()