Skip to content

[SYCLomatic][PTX] Support migration of PTX cvta.to.shared.u64 #2782

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

Conversation

tomflinda
Copy link
Contributor

Signed-off-by: chenwei.sun [email protected]

@tomflinda tomflinda requested a review from a team as a code owner April 14, 2025 02:53
__shared__ int shared_data[1]; // Shared memory
shared_data[0] = 0;
uint64_t shared_addr = 0;
asm volatile("cvta.to.shared.u64 %0, %1;" : "=l"(shared_addr) : "l"(&shared_data[0]));
Copy link
Contributor

Choose a reason for hiding this comment

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

Here actually have not apply any address space convert, please add more test case to support the migration policy.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay

@tomflinda tomflinda force-pushed the support_migration_cvta_to_shared_u64 branch from 277c71f to c84cfe5 Compare April 16, 2025 01:07
@zhimingwang36 zhimingwang36 merged commit 0e3bc4e into oneapi-src:SYCLomatic Apr 16, 2025
4 of 7 checks passed
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.

3 participants