This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace posix_memalign with std::aligned_alloc (#859)
* Replace posix_memalign with std::aligned_alloc Unfortunately aligned_alloc does not allow aligning buffers that are not a multiple of the alignment. To help with this, we allocate slightly larger buffers (up to the next multiple of the alignment) where necessary.
- Loading branch information
Omar Awile
authored
Sep 19, 2022
1 parent
87fe98b
commit 414479d
Showing
2 changed files
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters