Closed mDiracYas closed 2 years ago
This is known and documented (see https://github.com/vincefn/pyvkfft/blob/master/pyvkfft/cuda.py#L101), it is due to the way intermediate calculations must be made. The same is true in cufft.
The same info should probably also be given in pyvkfft.fft.irfftn
though
I'm sorry for skipping over the details of the document. I understand that it is the present specification. Thank you for your quick response.
No problem, it's counter-intuitive that an out-of-place transform destroys the original array. It took me a little while to understand that with cufft...
Hi!
Thanks for pyvkfft and your effort on this awesome opensource project!
When applying vkfft.fft.irfftn to cupy array, the input array seems to be unintentionally changed despite of not using the in-place command.
Sample code
Output
Environment OS:Windows 10 cuda: 11.3 pyvkfft version: 2022.1.1