-
Hi, I've been trying to come up with a very minimal example of VkFFT in action. I'm also trying to make use of Khronos's newer headers that provide an RAII and more C++-y interface to Vulkan. After going back and forth looking at the benchmark scripts and utils and following this guide, I have this code that I believed should work.
However, when I run the code I just get back the same array I wrote to the GPU. If an FFT had been performed I would expect the maxima to be at the beginning and end of the array and for there to be some scaling. And if I run the same code but with my own compute shader instead of VkFFTAppend it gives the expected result. So what is missing from this code that makes VkFFTAppend have no effect? Edit: I tried outputting resFFT and it says the plan wasn't initialized. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Forgot to assign device to the configuration and also call deleteVkFFT on the app. I now have it working. |
Beta Was this translation helpful? Give feedback.
Forgot to assign device to the configuration and also call deleteVkFFT on the app. I now have it working.