hipDrvGraphAddMemsetNode

Function hipDrvGraphAddMemsetNode 

Source
pub unsafe extern "C" fn hipDrvGraphAddMemsetNode(
    phGraphNode: *mut hipGraphNode_t,
    hGraph: hipGraph_t,
    dependencies: *const hipGraphNode_t,
    numDependencies: usize,
    memsetParams: *const hipMemsetParams,
    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