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

Move ffts_aligned_malloc() and ffts_aligned_free() to the public API #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emmenlau
Copy link

@emmenlau emmenlau commented Mar 9, 2022

The tests currently like to use _mm_malloc() or valloc() for aligned allocation in tests/test.c. Better and cleaner seems to be the use of ffts_aligned_malloc() and ffts_aligned_free(). And this may be also what downstream users want to use? Its at least in line with other FFT libraries.

This PR makes the methods public.

@emmenlau
Copy link
Author

emmenlau commented May 5, 2022

This should be a mostly harmless change, that brings ffts more in line with typical behavior of fftw and other fft libraries. Also it simplifies writing tests for ffts. Let me know what you think?

@emmenlau
Copy link
Author

Anyone?

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.

None yet

1 participant