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

The CUDA target needs to correctly emit the convergent attribute #9503

Open
gmarkall opened this issue Mar 19, 2024 · 0 comments
Open

The CUDA target needs to correctly emit the convergent attribute #9503

gmarkall opened this issue Mar 19, 2024 · 0 comments
Labels
bug - incorrect behavior Bugs: incorrect behavior CUDA CUDA related issue/PR

Comments

@gmarkall
Copy link
Member

As described in the LLVM documentation on Convergent Operation Semantics.

Incorrectly failing to emit it is not a problem at present, but it may be a problem in the future.

Conservatively, we can be correct by emitting it on all functions and inline assembly - however there is probably more nuance required if we want to emit it only as-needed.

@gmarkall gmarkall added CUDA CUDA related issue/PR bug - incorrect behavior Bugs: incorrect behavior labels Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug - incorrect behavior Bugs: incorrect behavior CUDA CUDA related issue/PR
Projects
None yet
Development

No branches or pull requests

1 participant