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

[FEA]: Provide std::assume_aligned #2499

Closed
1 task done
fbusato opened this issue Oct 3, 2024 · 0 comments · Fixed by #2502
Closed
1 task done

[FEA]: Provide std::assume_aligned #2499

fbusato opened this issue Oct 3, 2024 · 0 comments · Fixed by #2502
Assignees
Labels
feature request New feature or request.

Comments

@fbusato
Copy link
Contributor

fbusato commented Oct 3, 2024

Is this a duplicate?

Area

libcu++

Is your feature request related to a problem? Please describe.

Pointer alignment is a crucial optimization to get the best performance in many applications. C++20 standardizes the function to inform the compiler of the pointer alignment with std::assume_aligned

Describe the solution you'd like

Provide std::assume_aligned backported to previous c++ standard by using compiler intrinsic

Describe alternatives you've considered

No response

Additional context

No response

@fbusato fbusato added the feature request New feature or request. label Oct 3, 2024
@github-project-automation github-project-automation bot moved this to Todo in CCCL Oct 3, 2024
@fbusato fbusato mentioned this issue Oct 3, 2024
2 tasks
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Oct 3, 2024
@fbusato fbusato self-assigned this Oct 3, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant