summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_interface.h
blob: f7c75c09362a24f3ded1349a53f1198af30f312f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//===--- amdgcn_interface.h - OpenMP interface definitions ------- CUDA -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef _AMDGCN_INTERFACE_H_
#define _AMDGCN_INTERFACE_H_

#include <stdint.h>

#define EXTERN extern "C" __attribute__((device))
typedef uint64_t __kmpc_impl_lanemask_t;
typedef uint32_t omp_lock_t; /* arbitrary type of the right length */

#endif
OpenPOWER on IntegriCloud