brintos

brintos / llvm-project-archived public Read only

0
0
Text · 826 B · 17ef3ae Raw
28 lines · c
1//===-- Classes to capture properites of GPU applications -------*- 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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIBC_CONFIG_GPU_APP_H10#define LLVM_LIBC_CONFIG_GPU_APP_H11 12#include "hdr/stdint_proxy.h"13#include "src/__support/macros/config.h"14#include "src/__support/macros/properties/architectures.h"15 16namespace LIBC_NAMESPACE_DECL {17 18// TODO: Move other global values here and export them to the host.19struct DataEnvironment {20  uintptr_t *env_ptr;21};22 23extern DataEnvironment app;24 25} // namespace LIBC_NAMESPACE_DECL26 27#endif // LLVM_LIBC_CONFIG_GPU_APP_H28