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

Restore Buildability on main, warn about broken block #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marcusmueller
Copy link
Member

@marcusmueller marcusmueller commented Jun 30, 2024

Fixes #49

__GR_VLA was removed, and should have been volk/std::vector usage to begin with. So, we fix that.

Since we're now handling former VLAs as vectors, we mix destructors, volk_free and free. That is annoying, and rich in, partially very correct, warnings.

So, convert most malloc'ed things to vectors, manually managed ffts to unique_ptr.

Also, there was API misuse in fft_complex_fwd; it's fft_complex_fwd(length, threads), not fft_complex_fwd(length, direction). Luckily, nothing used any direction but forward.

Marcus Müller added 2 commits June 30, 2024 15:15
Required a bunch of mallocs/volk_allocs with volk::vectors.

Also, bouzegzi seems algorithmically broken, so add a clear compile
warning.

Fly-by fixes on comparing signed integers to unsigned vector lengths,
hard to detangle from fixing the VLA usage.

Signed-off-by: Marcus Müller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

maint-3.10 branch doesn't actually appear to be GR3.10 compatible?
1 participant