summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h')
-rw-r--r--openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
index c6e082c2b96..475851ac9af 100644
--- a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
+++ b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
@@ -22,6 +22,8 @@
#define DEVICE __attribute__((device))
#define INLINE inline DEVICE
#define NOINLINE __attribute__((noinline)) DEVICE
+#define SHARED __attribute__((shared))
+#define ALIGN(N) __attribute__((aligned(N)))
////////////////////////////////////////////////////////////////////////////////
// Kernel options
OpenPOWER on IntegriCloud