Skip to content

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.

1 participant