Surface object#

hipError_t hipCreateSurfaceObject(hipSurfaceObject_t *pSurfObject, const hipResourceDesc *pResDesc)#

Create a surface object.

Parameters:
  • pSurfObject[out] Pointer of surface object to be created.

  • pResDesc[in] Pointer of suface object descriptor.

Returns:

hipSuccess, hipErrorInvalidValue

hipError_t hipDestroySurfaceObject(hipSurfaceObject_t surfaceObject)#

Destroy a surface object.

Parameters:

surfaceObject[in] Surface object to be destroyed.

Returns:

hipSuccess, hipErrorInvalidValue

Warning

doxygengroup: Cannot find group “SurfaceAPI” in doxygen xml output for project “HIP 7.2.53211 Documentation” from directory: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/latest/projects/hip/docs/doxygen/xml