Surface Object#
Collaboration diagram for Surface Object:
Functions | |
hipError_t | hipCreateSurfaceObject (hipSurfaceObject_t *pSurfObject, const hipResourceDesc *pResDesc) |
Create a surface object. More... | |
hipError_t | hipDestroySurfaceObject (hipSurfaceObject_t surfaceObject) |
Destroy a surface object. More... | |
Detailed Description
This section describes surface object functions of HIP runtime API.
- Note
- APIs in this section are under development.
Function Documentation
◆ hipCreateSurfaceObject()
hipError_t hipCreateSurfaceObject | ( | hipSurfaceObject_t * | pSurfObject, |
const hipResourceDesc * | pResDesc | ||
) |
Create a surface object.
- Parameters
-
[out] pSurfObject Pointer of surface object to be created. [in] pResDesc Pointer of suface object descriptor.
- Returns
- hipSuccess, hipErrorInvalidValue
◆ hipDestroySurfaceObject()
hipError_t hipDestroySurfaceObject | ( | hipSurfaceObject_t | surfaceObject | ) |
Destroy a surface object.
- Parameters
-
[in] surfaceObject Surface object to be destroyed.
- Returns
- hipSuccess, hipErrorInvalidValue