1 //===---- device_environment.h - OpenMP GPU device environment --- 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 // Global device environment
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef _OMPTARGET_DEVICE_ENVIRONMENT_H_
14 #define _OMPTARGET_DEVICE_ENVIRONMENT_H_
15 
16 #include "target_impl.h"
17 
18 struct omptarget_device_environmentTy {
19   int32_t debug_level;
20 };
21 
22 extern DEVICE omptarget_device_environmentTy omptarget_device_environment;
23 
24 #endif
25