forked from Xilinx/XRT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Templatize internal utility aligned_alloc (Xilinx#7641)
* Templatize internal utility aligned_alloc Make aligned alloc return managed ptr of specified type. Preserve existing usage of default void and exposed deleter, but hide the deleter for specified types. Feels like this could be more elegant with better use of C++ features. Signed-off-by: Soren Soe <[email protected]> * Expose detail type for convenience Signed-off-by: Soren Soe <[email protected]> --------- Signed-off-by: Soren Soe <[email protected]>
- Loading branch information
Showing
2 changed files
with
69 additions
and
31 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