Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AbstractFFTs interface #22

Open
1 of 4 tasks
jipolanco opened this issue Oct 6, 2020 · 0 comments
Open
1 of 4 tasks

Support AbstractFFTs interface #22

jipolanco opened this issue Oct 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@jipolanco
Copy link
Owner

jipolanco commented Oct 6, 2020

Things to do:

  • define PencilFFTPlan constructor taking an existing PencilArray;

  • define planner functions, such as plan_fft, as wrappers of PencilFFTPlan constructor. Also extend r2r plans included in FFTW.jl;

  • make sure that fft(A::PencilArray, [dims]) (and similar functions) works as expected, returning another PencilArray;

  • define plan inverse as described in the AbstractFFTs docs (this is more difficult...).

Note that in-place transforms are more difficult via this interface, since they can't be performed directly on a PencilArray. This is because, in general, the size of the data held by a MPI process varies from input to output, even for complex-to-complex transforms (where the global size stays the same).

@jipolanco jipolanco added the enhancement New feature or request label Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant