Skip to content

Fix aligned allocation #42

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

Merged
merged 2 commits into from
Apr 20, 2025
Merged

Conversation

bmanga
Copy link
Contributor

@bmanga bmanga commented Apr 20, 2025

Use operator new overload with alignment.
This requires to store the alignment for the matching delete function call

Fixes #41

@ashvardanian ashvardanian changed the base branch from main to main-dev April 20, 2025 10:53
@ashvardanian ashvardanian merged commit a66cfe2 into ashvardanian:main-dev Apr 20, 2025
ashvardanian pushed a commit that referenced this pull request Apr 20, 2025
### Patch

- Docs: Notes on `#pragma region`s (ab7bf3f)
- Fix: Aligned allocation (#42) (a66cfe2)
@ashvardanian
Copy link
Owner

Thank you, @bmanga! Merged 🤗

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.

Invalid aligned_alloc
2 participants