1 //===--- nvptx_interface.h - OpenMP interface definitions -------- CUDA -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef _NVPTX_INTERFACE_H_ 10 #define _NVPTX_INTERFACE_H_ 11 12 #include <stdint.h> 13 14 #define EXTERN extern "C" __device__ 15 typedef uint32_t __kmpc_impl_lanemask_t; 16 typedef uint32_t omp_lock_t; /* arbitrary type of the right length */ 17 18 #endif 19