This is an archive of the discontinued LLVM Phabricator instance.

opencl-c.h: reorder atomic operations
ClosedPublic

Authored by airlied on Jul 7 2021, 5:11 PM.

Details

Summary

This just reorders the atomics, it doesn't change anything except their layout in the header.

This is a prep patch for adding some conditionals around these for CL3.0 but that patch is much easier to review if all the atomic operations are grouped together like this.

Diff Detail

Event Timeline

airlied created this revision.Jul 7 2021, 5:11 PM
airlied requested review of this revision.Jul 7 2021, 5:11 PM
Anastasia accepted this revision.Jul 12 2021, 4:09 AM

LGTM! Thanks

This revision is now accepted and ready to land.Jul 12 2021, 4:09 AM
This revision was landed with ongoing or failed builds.Jul 14 2021, 5:49 PM
This revision was automatically updated to reflect the committed changes.