[OpenCL][NFC] opencl-c.h: reorder atomic operations
authorDave Airlie <airlied@redhat.com>
Thu, 15 Jul 2021 00:48:19 +0000 (10:48 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Jul 2021 00:48:44 +0000 (10:48 +1000)
commit090f007e3481863430e4443765769e73f8f40e5f
tree28b9683fc20d7ce2dac8989d83e0cce2c6a0279b
parentea469b08b847cef5f4c8187228f1e4bbf881706a
[OpenCL][NFC] opencl-c.h: reorder atomic operations

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.

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D105601
clang/lib/Headers/opencl-c.h