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

[DFT] Improve support for different ROCm versions #471

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

Rbiessy
Copy link
Contributor

@Rbiessy Rbiessy commented Apr 9, 2024

Description

  • Improves the include path to allow compiling rocFFT backend with ROCm>=6.0.
  • Sets the minimum required rocFFT version in CMake to match with the README version. The rocFFT backend does not compile with older rocFFT version so adding a minimum version improves the error message for the user.

Attached is the test log on AMD using the Codeplay plugin. Currently it supports the ROCm version 5.4.3.
dft_rocm_tests.txt
I have verified that this builds with ROCm 6.0.0 but this can't be run using the Codeplay plugins yet.

Checklist

All Submissions

  • Do all unit tests pass locally? Attach a log.
  • Have you formatted the code using clang-format?

Bug fixes

  • [N/A] Have you added relevant regression tests?
  • Have you included information on how to reproduce the issue (either in a
    GitHub issue or in this PR)?

Improve the include path to allow compiling rocFFT backend with ROCm>=6.0.
Set the minimum required rocfft version in CMake to match with the
README version.
@Rbiessy Rbiessy requested review from FMarno and lhuot and removed request for FMarno April 9, 2024 15:21
Copy link
Contributor

@hjabird hjabird left a comment

Choose a reason for hiding this comment

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

LGTM!

src/dft/backends/rocfft/CMakeLists.txt Show resolved Hide resolved
Copy link
Contributor

@lhuot lhuot left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@Rbiessy Rbiessy merged commit 028d8ba into uxlfoundation:develop Apr 10, 2024
@Rbiessy Rbiessy deleted the romain/set_minimum_version branch April 10, 2024 08:21
normallytangent pushed a commit to normallytangent/oneMKL that referenced this pull request Aug 6, 2024
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