1 //===--- amdgcn_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 _AMDGCN_INTERFACE_H_ 10 #define _AMDGCN_INTERFACE_H_ 11 12 #include <stdint.h> 13 14 #define EXTERN extern "C" __attribute__((device)) 15 typedef uint64_t __kmpc_impl_lanemask_t; 16 typedef uint32_t omp_lock_t; /* arbitrary type of the right length */ 17 18 #endif 19