summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-10-28 10:39:49 -0400
committerAlexey Bataev <a.bataev@hotmail.com>2019-10-28 10:43:00 -0400
commitd7941a6ab976121c35865c90a6a76a72c914444b (patch)
treeb885257dca47771a560e03affd1fe616d62b4315
parentb911d2db5dd85b7b69b4529fc581b3e95dba488c (diff)
downloadbcm5719-llvm-d7941a6ab976121c35865c90a6a76a72c914444b.tar.gz
bcm5719-llvm-d7941a6ab976121c35865c90a6a76a72c914444b.zip
[LIBOMPTARGET]Fix build, NFC.
Need to include nvptx_interface.h in target_impl.h, otherwise the build is failed because of missing __kmpc_impl_lanemask_t type.
-rw-r--r--openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h b/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
index 1a5d69a3ad5..bd212ca18cf 100644
--- a/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
+++ b/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
@@ -13,7 +13,7 @@
#define _TARGET_IMPL_H_
#include <cuda.h>
-#include <stdint.h>
+#include "nvptx_interface.h"
#define INLINE __forceinline__ __device__
#define NOINLINE __noinline__ __device__
OpenPOWER on IntegriCloud