[Openmp-commits] [openmp] d7941a6 - [LIBOMPTARGET]Fix build, NFC.

Alexey Bataev via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 28 07:59:00 PDT 2019


Author: Alexey Bataev
Date: 2019-10-28T10:43:00-04:00
New Revision: d7941a6ab976121c35865c90a6a76a72c914444b

URL: https://github.com/llvm/llvm-project/commit/d7941a6ab976121c35865c90a6a76a72c914444b
DIFF: https://github.com/llvm/llvm-project/commit/d7941a6ab976121c35865c90a6a76a72c914444b.diff

LOG: [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.

Added: 
    

Modified: 
    openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h b/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
index 1a5d69a3ad57..bd212ca18cf6 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__


        


More information about the Openmp-commits mailing list