-
Notifications
You must be signed in to change notification settings - Fork 738
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
[LIBCLC] Add support for more generic atomic operations #7391
[LIBCLC] Add support for more generic atomic operations #7391
Conversation
Changing it to a draft, till #7220 is merged. |
/verify with intel/llvm-test-suite#1446 |
b50e560
to
e1eeb3d
Compare
/verify with intel/llvm-test-suite#1446 |
@bader Could you please help with reviewing? |
/verify with intel/llvm-test-suite#1446 |
Co-authored-by: Alexey Bader <alexey.bader@intel.com>
Co-authored-by: Alexey Bader <alexey.bader@intel.com>
/verify with intel/llvm-test-suite#1446 |
1 similar comment
/verify with intel/llvm-test-suite#1446 |
/verify with intel/llvm-test-suite#1446 |
1 similar comment
/verify with intel/llvm-test-suite#1446 |
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.
LGTM!
Verification failures unrelated: OpenCL: Timed Out Tests (2): #7741 Failed Tests (2): Also mentioned in #7745 Level Zero: Timed Out Tests (2): Failed Tests (19): #7744 #7743 |
Counterpart of intel/llvm#7391 This patch supersedes #929
@jchlanda - It looks like some of the newly enabled test-suite tests are failing for CUDA still, specifically due to AtomicStore. See for example https://github.com/intel/llvm/actions/runs/3693963954/jobs/6254968423. |
Interesting, it does look like a generic pointer in those stores, will have a look. |
@steffenlarsen I think I know what's going on here. Seems like there are two problems:
which is why it wasn't picked up earlier, as I'm not sure what is the best course of action here, either reverting the patch, or XFAILING those 4 tests, as I'm unlikely to get the fix today. |
Thank you, @jchlanda ! Since they were just enabled, I think adding XFAIL back to those tests is the best course of action. Your patch seems to still work for a good chunk of them so we may as well keep this functionality, unless you can think of a reason why it may be disruptive? |
Counterpart of intel#7391 This patch supersedes intel/llvm-test-suite#929
The diffs are quite hard to follow, but in an essence this patch brings:
__CLC_NVVM_ATOMIC_XYZ_IMPL
, whereXYZ
stands forCAS
,INDEC
,LOAD
,MAX
,MIN
,STORE
andSUB
,This patch supersedes: #5849 but it requires the fixes to the remangler from: #7220
Fixes: #7658