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

hipError_t hipExtEnableLogging()#

Enable HIP runtime logging.

This function enables the HIP runtime logging mechanism, allowing diagnostic and trace information to be captured during HIP API execution.

Returns:

hipSuccess

hipError_t hipExtDisableLogging()#

Disable HIP runtime logging.

This function disables the HIP runtime logging mechanism, stopping the capture of diagnostic and trace information during HIP API execution.

Returns:

hipSuccess

hipError_t hipExtSetLoggingParams(size_t log_level, size_t log_size, size_t log_mask)#

Set HIP runtime logging parameters.

This function configures the logging behavior of the HIP runtime, including the verbosity level, buffer size, and which components to log.

Parameters:
  • log_level[in] The logging verbosity level. Higher values produce more detailed output.

  • log_size[in] Reserved for future use. Currently not implemented.

  • log_mask[in] A bitmask specifying which HIP runtime components to log.

Returns:

hipSuccess, hipErrorInvalidValue

Warning

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