summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Chesterfield <jonathanchesterfield@gmail.com>2019-12-12 09:35:39 +0000
committerJon Chesterfield <jonathanchesterfield@gmail.com>2019-12-12 09:36:57 +0000
commitb399252028f02f8e32382aaeda9960e67b7fd514 (patch)
tree79a556684a7ff0f4e0385ce21295e4252a8eebe0
parentfff9f049b2e91ce6e670d767866ee4670a4fed31 (diff)
downloadbcm5719-llvm-b399252028f02f8e32382aaeda9960e67b7fd514.tar.gz
bcm5719-llvm-b399252028f02f8e32382aaeda9960e67b7fd514.zip
[libomptarget][nfc] Add missing header for amdgcn/target_impl
-rw-r--r--openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
index b10f34a1664..192e355c62f 100644
--- a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
+++ b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
@@ -16,9 +16,11 @@
#error "amdgcn target_impl.h expects to be compiled under __AMDGCN__"
#endif
-#include <stdint.h>
#include "amdgcn_interface.h"
+#include <stddef.h>
+#include <stdint.h>
+
#define DEVICE __attribute__((device))
#define INLINE inline DEVICE
#define NOINLINE __attribute__((noinline)) DEVICE
OpenPOWER on IntegriCloud