-
Notifications
You must be signed in to change notification settings - Fork 118
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 (BlueBrain/CoreNeuron#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. CoreNEURON Repo SHA: BlueBrain/CoreNeuron@414479d
- Loading branch information
Omar Awile
authored
Sep 19, 2022
1 parent
8ef874f
commit 55a15bf
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