-
Notifications
You must be signed in to change notification settings - Fork 84
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
[Issue]: Incorrect result on transposing forward DFT #507
Comments
I’ve now moved on from Codeplay, so unfortunately I don’t have the resources to test this. Perhaps @Rbiessy can help?On 29 Aug 2024, at 04:34, Steve Leung ***@***.***> wrote:
0953683 addresses this problem. @hjabird the lambda change you mentioned doesn't look to me like it would have any effect. If you're able to try building rocFFT from source, would you be able to check whether this commit fixes things?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thank you for the quick fix @evetsso. I can confirm you that the current develop branch works fine for our tests. |
s-Nick
added a commit
to s-Nick/oneMKL
that referenced
this issue
Aug 30, 2024
Due to rocFFt internal bug ROCm/rocFFT#507 Add cmake version checks based upon rocFFT version. Add exception to deal with faulty cases for affected rocFFT version. RocFFT versions taken from https://github.com/ROCm/rocFFT/blob/develop/CHANGELOG.md
s-Nick
added a commit
to s-Nick/oneMKL
that referenced
this issue
Aug 30, 2024
Due to rocFFt internal bug ROCm/rocFFT#507 Add cmake version checks based upon rocFFT version. Add exception to deal with faulty cases for affected rocFFT version. RocFFT versions taken from https://github.com/ROCm/rocFFT/blob/develop/CHANGELOG.md
s-Nick
added a commit
to s-Nick/oneMKL
that referenced
this issue
Aug 30, 2024
Due to rocFFt internal bug ROCm/rocFFT#507 Add cmake version checks based upon rocFFT version. Add exception to deal with faulty cases for affected rocFFT version. RocFFT versions taken from https://github.com/ROCm/rocFFT/blob/develop/CHANGELOG.md
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
In oneMKL Interfaces library, a test using the rocFFT backend fails. This test is a forward transposing DFT. I believe this a bug in rocFFT, introduced between the releases for ROCm 5.4.3 and ROCm 5.7.1. The issue is described in a comment at oneapi-src/oneMKL#559.
The DFT that fails can be described as:
This can be reproduced by building oneMKL interfaces library with the rocFFT backend for ROCm 5.7.1 or later, and running the the test. Intel's oneAPI base toolkit 2024.2 and the Codeplay's plugin for AMD GPUs are required (see the oneMKL interfaces documentation).
I've identified a bug in the rocFFT implementation that fixes the above issue in my tests: a lambda captures a variable by value where by reference is intended. I don't entirely understand why this works if reordering the DFT dimensions is otherwise valid, so it might be dumb luck.
This fix was tested on the rocFFT version corresponding to ROCm 5.7.1 only.
Operating System
Ubuntu 22.04
CPU
AMD EPYC 7402 w/MI210, i9-12900K w/w6800
GPU
AMD Instinct MI210, AMD Radeon Pro W6800
ROCm Version
ROCm 6.1.0, ROCm 6.0.0, ROCm 5.7.1
ROCm Component
rocFFT
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: