summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/atom_decl_int64.inc
diff options
context:
space:
mode:
Diffstat (limited to 'libclc/generic/include/clc/atom_decl_int64.inc')
-rw-r--r--libclc/generic/include/clc/atom_decl_int64.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/atom_decl_int64.inc b/libclc/generic/include/clc/atom_decl_int64.inc
new file mode 100644
index 00000000000..1e0cc32df21
--- /dev/null
+++ b/libclc/generic/include/clc/atom_decl_int64.inc
@@ -0,0 +1,11 @@
+#define __CLC_DECLARE_ATOM(ADDRSPACE, TYPE) \
+ _CLC_OVERLOAD _CLC_DECL TYPE __CLC_FUNCTION (volatile ADDRSPACE TYPE *, TYPE);
+
+__CLC_DECLARE_ATOM(local, long)
+__CLC_DECLARE_ATOM(local, ulong)
+__CLC_DECLARE_ATOM(global, long)
+__CLC_DECLARE_ATOM(global, ulong)
+
+#undef __CLC_DECLARE_ATOM
+
+#undef __CLC_FUNCTION
OpenPOWER on IntegriCloud