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

Add cuda::std::aligned_accessor #3731

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

fbusato
Copy link
Contributor

@fbusato fbusato commented Feb 7, 2025

Description

p2897 has been officially approved.
This is a good opportunity to add a fully compliant implementation to libcu++ (cuda::std namespace)

@fbusato fbusato added the 3.0 Targeted for 3.0 release label Feb 7, 2025
@fbusato fbusato self-assigned this Feb 7, 2025
@fbusato fbusato requested a review from a team as a code owner February 7, 2025 00:11
@fbusato fbusato requested a review from wmaxey February 7, 2025 00:11
@fbusato fbusato requested a review from a team as a code owner February 7, 2025 17:38
@fbusato fbusato requested a review from ericniebler February 7, 2025 17:38
#if defined(_CCCL_BUILTIN_IS_CONSTANT_EVALUATED)
auto ptr = reinterpret_cast<int*>(0x1);
cuda::std::aligned_accessor<int, 64> aligned;
unused(aligned.offset(ptr, 0));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@miscco this test doesn't fail in many CI platforms. Not sure why. Could be related to the implementation of bit_cast?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 Targeted for 3.0 release
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

2 participants