-
Notifications
You must be signed in to change notification settings - Fork 4
Implement FFTs #4
Comments
I started working on this. https://github.com/antholzer/ROCArrays.jl/tree/rocfft-basics 1D forward is working (inverse has wrong scaling factor) I still need to implement region selection (i.e. batched transformation) and 2D/3D. |
Awesome! I see you built on my rocBLAS PR, which seems like a good call. Let me know if you need any help; I'm pretty short on free time these days, but I'd like to do whatever I can to help get your work merged and make this package finally usable 😄 |
Regions are still missing and 3D out of place does not seem to do anything. However I have a problem with synchronization (in C++ they use i.e. using the following test function the test will only pass for
|
We should see what that HIP call does under the covers and just do that, with a nicer name of course (like |
That device sync functionality could potentially be less trivial than I'm expecting (I couldn't figure out what HSA calls are needed from a first pass through HIP's source code), so I need to ask: is this functionality a huge blocker for your FFT functionality specifically, or do you foresee it as an overall issue for all ROCm library calls? I want to be sure you're not blocked on me (or someone) getting that functionality implemented 🙂 |
I do not think that it a blocker for an initial implementation, since I can work around it like above. I'm still having some trouble with batched ffts (only 1D batches working) and with rfft, but hopefully I can fix most of it soon ;) |
Current status here
where 3D Complex is broken: ROCm/rocFFT#270 and I am not sure if (inverse) rfft for 2/3D was really fixed: ROCm/rocFFT#128 |
For the closed issue, can you put together a reproducer in C++, and then post that in the issue? For the open issue, we'll just have to wait on a fix (but at least it's assigned to someone). Aside from those, awesome work! Would you like to open a PR to gain some visibility for your work? It might make it easier for people to help with any test failures you can't figure out how to solve. |
I created a PR and also posted in the rocFFT issue. |
https://github.com/ROCmSoftwarePlatform/rocFFT
The text was updated successfully, but these errors were encountered: