cubecl_hip_sys

Function hipDrvGraphAddMemsetNode

Source
pub unsafe extern "C" fn hipDrvGraphAddMemsetNode(
    phGraphNode: *mut hipGraphNode_t,
    hGraph: hipGraph_t,
    dependencies: *const hipGraphNode_t,
    numDependencies: usize,
    memsetParams: *const HIP_MEMSET_NODE_PARAMS,
    ctx: hipCtx_t,
) -> hipError_t
Expand description

@brief Creates a memset node and adds it to a graph.

@param [out] phGraphNode - pointer to graph node to create. @param [in] hGraph - instance of graph to add the created node to. @param [in] dependencies - const pointer to the dependencies on the memset execution node. @param [in] numDependencies - number of the dependencies. @param [in] memsetParams - const pointer to the parameters for the memory set. @param [in] ctx - cotext related to current device. @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.