/*===---- __clang_hip_runtime_wrapper.h - HIP runtime support ---------------===
*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
*===-----------------------------------------------------------------------===
*/
/*
* WARNING: This header is intended to be directly -include'd by
* the compiler and is not supposed to be included by users.
*
*/
extern "C"
//__cplusplus
// __has_include("hip/hip_version.h")
typedef __SIZE_TYPE__ size_t;
// Define macros which are needed to declare HIP device API's without standard
// C/C++ headers. This is for readability so that these API's can be written
// the same way as non-hipRTC use case. These macros need to be popped so that
// they do not pollute users' name space.
// __HIPCC_RTC__
typedef __SIZE_TYPE__ __hip_size_t;
extern "C" HIP_VERSION_MAJOR * 100 + HIP_VERSION_MINOR >= 405
extern "C" __device__ unsigned long long ;
extern "C" __device__ void ;
inline __device__ void *
inline __device__ void
__device__ void *;
__device__ void *;
inline __device__ void *
inline __device__ void
inline __device__ void *
inline __device__ void
// HIP version check
} // extern "C"
//__cplusplus
// __HIPCC_RTC__
// __HIPCC_RTC__
// __HIP__
// __CLANG_HIP_RUNTIME_WRAPPER_H__