Page MenuHomePhabricator

[OpenCL] Fix inconsistency between opencl and c11 atomic fetch max/min
ClosedPublic

Authored by yaxunl on Dec 19 2019, 1:08 PM.

Details

Summary

There is some inconsistency between opencl and c11 atomic fetch max/min after

https://reviews.llvm.org/D46386

https://reviews.llvm.org/D55562

It is not reasonable to have such inconsistencies. This patch fixes that.

Diff Detail

Event Timeline

yaxunl created this revision.Dec 19 2019, 1:08 PM
Anastasia accepted this revision.Dec 27 2019, 8:01 AM

LGTM! Thanks!

This revision is now accepted and ready to land.Dec 27 2019, 8:01 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptDec 27 2019, 8:50 AM