[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / openmp / libomptarget / deviceRTLs / amdgcn / src / amdgcn_interface.h
blobc3b2f59d636e2221a859a46e8e9aa488121e720f
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 //===----------------------------------------------------------------------===//
9 #ifndef _AMDGCN_INTERFACE_H_
10 #define _AMDGCN_INTERFACE_H_
12 #include <stdint.h>
14 #define EXTERN extern "C"
15 typedef uint32_t omp_lock_t; /* arbitrary type of the right length */
17 EXTERN uint32_t __kmpc_amdgcn_gpu_num_threads();
19 #endif