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

Fix hipFFT-plan_*2z examples #173

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Fix hipFFT-plan_*2z examples #173

merged 1 commit into from
Oct 17, 2024

Conversation

MKKnorr
Copy link
Collaborator

@MKKnorr MKKnorr commented Oct 16, 2024

The hipFFT examples had a small memory leak due to using hipfftCreate before using hipfftPlan*d, which expects the plan not to be allocated beforehand.

The other option would have been to still create the plan manually and then use hipfftMakePlan*d instead of hipfftPlan*d

The hipFFT examples had a small memory leak due to using hipfftCreate
before using hipfftPlan*d, which expects the plan not to be allocated
beforehand.
@MKKnorr MKKnorr self-assigned this Oct 16, 2024
@MKKnorr MKKnorr merged commit 4ad21b2 into develop Oct 17, 2024
8 checks passed
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.

2 participants