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

Reuse plan #19

Merged
merged 3 commits into from
Jan 8, 2024
Merged

Reuse plan #19

merged 3 commits into from
Jan 8, 2024

Conversation

yasahi-hpc
Copy link
Collaborator

In this PR, I have added the capability to reuse a plan for the same FFTs. This is particularly important for NVIDIA GPUs, which has some overheads to create plans.

Now the following operations are possible.

int axis = -1;
KokkosFFT::Impl::Plan fft_plan(execution_space(), xc2c, xc2c_hat, KokkosFFT::Impl::Direction::Forward, axis);
KokkosFFT::fft(execution_space(), xc2c, xc2c_hat, fft_plan);

@yasahi-hpc yasahi-hpc merged commit f1ee91f into main Jan 8, 2024
3 checks passed
@yasahi-hpc yasahi-hpc deleted the reuse-plan branch January 8, 2024 08:08
@yasahi-hpc yasahi-hpc mentioned this pull request Jan 8, 2024
31 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant