KEMBAR78
Use `__restrict__` for CUDA by frederick-vs-ja · Pull Request #5079 · microsoft/STL · GitHub
Skip to content

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