[PATCH] D25954: [OpenCL] Add missing atom_xor for 64 bit to opencl-c.h
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 25 14:46:38 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL285125: [OpenCL] Add missing atom_xor for 64 bit to opencl-c.h (authored by yaxunl).
Changed prior to commit:
https://reviews.llvm.org/D25954?vs=75740&id=75797#toc
Repository:
rL LLVM
https://reviews.llvm.org/D25954
Files:
cfe/trunk/lib/Headers/opencl-c.h
Index: cfe/trunk/lib/Headers/opencl-c.h
===================================================================
--- cfe/trunk/lib/Headers/opencl-c.h
+++ cfe/trunk/lib/Headers/opencl-c.h
@@ -14616,6 +14616,13 @@
unsigned int __ovld atom_xor(volatile __local unsigned int *p, unsigned int val);
#endif
+#if defined(cl_khr_int64_extended_atomics)
+long __ovld atom_xor(volatile __global long *p, long val);
+unsigned long __ovld atom_xor(volatile __global unsigned long *p, unsigned long val);
+long __ovld atom_xor(volatile __local long *p, long val);
+unsigned long __ovld atom_xor(volatile __local unsigned long *p, unsigned long val);
+#endif
+
#if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)
#pragma OPENCL EXTENSION cl_khr_int64_base_atomics : disable
#pragma OPENCL EXTENSION cl_khr_int64_extended_atomics : disable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25954.75797.patch
Type: text/x-patch
Size: 856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161025/19721595/attachment-0001.bin>
More information about the cfe-commits
mailing list