-
Notifications
You must be signed in to change notification settings - Fork 810
[SYCL][CUDA][libclc] Fixes atomics for below sm_60 #5025
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
|
/verify with intel/llvm-test-suite#581 |
|
It looks like we need to run |
bader
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, fix ptxas fatal : Unresolved extern function '__nvvm_reflect' issue.
|
So it looks like calling |
|
/verify with intel/llvm-test-suite#590 |
Fixes #5008. Fixes libclc implementation of CUDA atomics by using
__nvvm_reflect()so as not to emit intrinsics that are unsupported on target sm version. If atomics are called with semantic order or scope that is not supported,__builtin_trap()is called instead.