Closed zhaohaifei closed 10 months ago
performR2C specifies that the transform is using Real data as input in forward transform and as output in inverse. It doesn't do r2c+c2r, that is done in benchmarks. To do c2r you have to call VkFFTAppend(app, 1, launchParams); - here 1 specifies the inverse direction, -1 would do r2c.
Thank you.
Why does the benchmark put c2r+r2c together? Is the performance of c2r and r2c the same? Is it the same for d2z and z2d?
The performance of forward and inverse transforms is roughly the same for all algorithms. Having them both in the benchmark was the choice I made originally to keep track of it being the same after changes.
I know that by specifying VkFFTConfiguration.performR2C=1, R2C+C2R can be calculated. I want to calculate C2R separately, how should I do it?