Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About ensuring that KokkosFFT_ENABLE_HOST_AND_DEVICE is enabled #150

Open
tpadioleau opened this issue Oct 6, 2024 · 3 comments
Open

About ensuring that KokkosFFT_ENABLE_HOST_AND_DEVICE is enabled #150

tpadioleau opened this issue Oct 6, 2024 · 3 comments

Comments

@tpadioleau
Copy link
Member

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

@yasahi-hpc
Copy link
Collaborator

Makes sense. Can you wait for v0.3.0?

@tpadioleau
Copy link
Member Author

yes it is fine for me

@jbigot
Copy link
Member

jbigot commented Oct 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants