1 //===---- device_environment.h - OpenMP GPU device environment ---- C++ -*-===//
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 // deviceRTL uses <stdint> and DeviceRTL uses explicit definitions
17 
18 struct DeviceEnvironmentTy {
19   uint32_t DebugKind;
20   uint32_t NumDevices;
21   uint32_t DeviceNum;
22   uint32_t DynamicMemSize;
23 };
24 
25 #endif
26