kokkos-fft icon indicating copy to clipboard operation
kokkos-fft copied to clipboard

About ensuring that `KokkosFFT_ENABLE_HOST_AND_DEVICE` is enabled

Open tpadioleau opened this issue 1 year ago • 3 comments

If a project relies on the option KokkosFFT_ENABLE_HOST_AND_DEVICE, it will likely need to know if the installed KokkosFFT provides it or not.

Could adding #cmakedefine KOKKOSFFT_ENABLE_HOST_AND_DEVICE do the job ?

cc @jbigot

tpadioleau avatar Oct 06 '24 07:10 tpadioleau

Makes sense. Can you wait for v0.3.0?

yasahi-hpc avatar Oct 06 '24 08:10 yasahi-hpc

yes it is fine for me

tpadioleau avatar Oct 06 '24 09:10 tpadioleau

I was thinking of offering support for the COMPONENTS keyword of find_package so that the requirement can be expressed from CMake and in case multiple versions are installed, the right one is found

jbigot avatar Oct 06 '24 20:10 jbigot