Repository navigation
Add plan argument to 1D FFT functions in cupyx.scipy.fftpack - #2033
Conversation
|
LGTM excepts the comment. |
As requested in cupy#2033 (comment)
|
Jenkins, test this please. |
|
Jenkins CI test (for commit e0a2c2e, target branch master) failed with status FAILURE. |
|
Sorry, we want to support this feature experimentally. Could you fix the docstrings? |
|
The above Jenkins failure is irrelevant to this PR. |
|
Sorry, but fix how? Could you give a concrete instruction? And would you
also like to mark 2D/3D versions #1942 experimental as well?
ps. If I get to express my thought freely, I’d say to me this decision
would certainly be disappointing, as I just gave an internal educational
talk promoting CuPy and this coming FFT support to a group of scientists
who need efficient FFT desperately... :( I do think we’re heading the right
direction; it wasn’t nearly as good before #1669 was raised.
--
Sincerely,
*Leo Fang* (*Fang Yao-Lung**)*
|
|
It doesn't mean that we do not want this feature, but merely that the interface can be changed in the future because this argument is not supported by SciPy. |
|
By the way, please also take #2035 into consideration when making the suggestions. Likely what you have in mind will need a commit to both PRs. Thanks. |
|
|
|
@asi1024 Thank you, it's much clearer. I just updated it. |
|
Jenkins, test this please. |
see PR cupy#2056 as well as the discussion starting at cupy#2033 (comment)
|
Jenkins CI test (for commit d56c174, target branch master) succeeded! |
|
LGTM! Thanks! |
This is an accompanying PR with #1942 to address the performance issue discussed in #1669. In this PR I changed the signatures for the following functions:
cupyx.scipy.fftpack.fftcupyx.scipy.fftpack.ifftso that they accept a
planargument (defaulted toNone). Another change is made tocupyx.scipy.fftpack.get_fft_plan, introduced #1942, so that it can return either a cuFFTPlan1dorPlanNd--- this is a design choice that I'd like to have feedbacks from @grlee77 and perhaps @asi1024. Thanks.