brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 788989a Raw
40 lines · plain
1//===----------------------------------------------------------------------===//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/// \file10/// This file contains forward declarations for the opaque types and handles11/// used by the Offload API.12///13//===----------------------------------------------------------------------===//14 15#ifndef MATHTEST_OFFLOADFORWARD_HPP16#define MATHTEST_OFFLOADFORWARD_HPP17 18#ifdef __cplusplus19extern "C" {20#endif // __cplusplus21 22struct ol_error_struct_t;23typedef const ol_error_struct_t *ol_result_t;24#define OL_SUCCESS (static_cast<ol_result_t>(nullptr))25 26struct ol_device_impl_t;27typedef struct ol_device_impl_t *ol_device_handle_t;28 29struct ol_program_impl_t;30typedef struct ol_program_impl_t *ol_program_handle_t;31 32struct ol_symbol_impl_t;33typedef struct ol_symbol_impl_t *ol_symbol_handle_t;34 35#ifdef __cplusplus36}37#endif // __cplusplus38 39#endif // MATHTEST_OFFLOADFORWARD_HPP40