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

Templatize internal utility aligned_alloc #7641

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Conversation

stsoe
Copy link
Collaborator

@stsoe stsoe commented Jul 25, 2023

Problem solved by the commit

Make aligned alloc return managed ptr of specified type.

How problem was solved, alternative solutions (if any) and why they were rejected

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.

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 <2106410+stsoe@users.noreply.github.com>
@stsoe stsoe requested a review from rozumx as a code owner July 25, 2023 21:04
@stsoe stsoe requested a review from maxzhen July 25, 2023 21:04
Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
@gbuildx
Copy link
Collaborator

gbuildx commented Jul 25, 2023

Build failed :(

@dayeh-xilinx
Copy link

retest this please.

@gbuildx
Copy link
Collaborator

gbuildx commented Jul 26, 2023

Build Passed!

@stsoe stsoe merged commit 9036de7 into Xilinx:master Jul 26, 2023
2 checks passed
@stsoe stsoe deleted the memalign branch July 26, 2023 14:38
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.

4 participants