cubecl_hip_sys

Function hipGraphRetainUserObject

Source
pub unsafe extern "C" fn hipGraphRetainUserObject(
    graph: hipGraph_t,
    object: hipUserObject_t,
    count: c_uint,
    flags: c_uint,
) -> hipError_t
Expand description

@brief Retain user object for graphs.

@param [in] graph - pointer to graph to retain the user object for. @param [in] object - pointer to instace of userobj. @param [in] count - reference to resource to be retained. @param [in] flags - flags passed to API. @returns #hipSuccess, #hipErrorInvalidValue @warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.