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

Use __restrict__ for CUDA #5079

Merged

Conversation

frederick-vs-ja
Copy link
Contributor

Followup to #4958 and #5061.

According to CUDA's documentation, CUDA recognizes __restrict__, so I think we can use that spelling for CUDA.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner November 12, 2024 07:49
@CaseyCarter CaseyCarter added the enhancement Something can be improved label Nov 12, 2024
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 44a276f into microsoft:main Nov 14, 2024
39 checks passed
@StephanTLavavej
Copy link
Member

Thanks for updating this workaround! ⚙️ 🛠️ 🐈

@frederick-vs-ja frederick-vs-ja deleted the __restrict__-for-cuda branch November 14, 2024 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something can be improved
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants