[Openmp-commits] [openmp] b399252 - [libomptarget][nfc] Add missing header for amdgcn/target_impl
Jon Chesterfield via Openmp-commits
openmp-commits at lists.llvm.org
Thu Dec 12 01:37:12 PST 2019
Author: Jon Chesterfield
Date: 2019-12-12T09:36:57Z
New Revision: b399252028f02f8e32382aaeda9960e67b7fd514
URL: https://github.com/llvm/llvm-project/commit/b399252028f02f8e32382aaeda9960e67b7fd514
DIFF: https://github.com/llvm/llvm-project/commit/b399252028f02f8e32382aaeda9960e67b7fd514.diff
LOG: [libomptarget][nfc] Add missing header for amdgcn/target_impl
Added:
Modified:
openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
Removed:
################################################################################
diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
index b10f34a16642..192e355c62fa 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
More information about the Openmp-commits
mailing list