pub unsafe extern "C" fn hipCreateSurfaceObject(
pSurfObject: *mut hipSurfaceObject_t,
pResDesc: *const hipResourceDesc,
) -> hipError_t
Expand description
@brief Create a surface object.
@param [out] pSurfObject Pointer of surface object to be created. @param [in] pResDesc Pointer of suface object descriptor.
@returns #hipSuccess, #hipErrorInvalidValue