Skip to content

remove the Cuda/HIP backend macros for the HostSpace FFT definition #352

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s-mayani
Copy link
Collaborator

@s-mayani s-mayani commented May 6, 2025

Unit tests are not compiling because of a change in FFT.h when adding HIP/rocm support.

This is because the Kokkos::HostSpace FFT needs to be defined even if we have Cuda or HIP (since these are on Kokkos::CudaSpace or Kokkos::HIPSpace).

I do not know if this breaks anything on AMD (please let me know Andreas).
If it does, then I think we need to somehow add these macros to the unit tests instead.

@s-mayani s-mayani requested review from aaadelmann and JoMee May 6, 2025 10:44
@s-mayani s-mayani self-assigned this May 6, 2025
@biddisco
Copy link

biddisco commented May 6, 2025

This fixes the build error for me too

Copy link
Member

@aaadelmann aaadelmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not break LUMI

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

Successfully merging this pull request may close these issues.

3 participants