include/hip/surface_types.h Source File

include/hip/surface_types.h Source File#

HIP Runtime API Reference: include/hip/surface_types.h Source File
surface_types.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
12#ifndef HIP_INCLUDE_HIP_SURFACE_TYPES_H
13#define HIP_INCLUDE_HIP_SURFACE_TYPES_H
14
15#if defined(__clang__)
16#pragma clang diagnostic push
17#pragma clang diagnostic ignored "-Wreserved-identifier"
18#endif
19
20#if !defined(__HIPCC_RTC__)
21#include <hip/driver_types.h>
22#endif
23
27struct __hip_surface;
28typedef struct __hip_surface* hipSurfaceObject_t;
29
36
45
46#if defined(__clang__)
47#pragma clang diagnostic pop
48#endif
49
50#endif /* !HIP_INCLUDE_HIP_SURFACE_TYPES_H */
hipSurfaceObject_t surfaceObject
Definition surface_types.h:34
hipSurfaceBoundaryMode
Definition surface_types.h:40
@ hipBoundaryModeClamp
Definition surface_types.h:43
@ hipBoundaryModeTrap
Definition surface_types.h:42
@ hipBoundaryModeZero
Definition surface_types.h:41
struct __hip_surface * hipSurfaceObject_t
Definition surface_types.h:28
Definition surface_types.h:33