hipGraphAddKernelNode

Function hipGraphAddKernelNode 

Source
pub unsafe extern "C" fn hipGraphAddKernelNode(
    pGraphNode: *mut hipGraphNode_t,
    graph: hipGraph_t,
    pDependencies: *const hipGraphNode_t,
    numDependencies: usize,
    pNodeParams: *const hipKernelNodeParams,
) -> hipError_t
Expand description

@brief Creates a kernel execution node and adds it to a graph.

@param [out] pGraphNode - Pointer to graph node that is created @param [in] graph - Instance of graph to add the created node to. @param [in] pDependencies - Pointer to the dependencies of the kernel execution node. @param [in] numDependencies - The number of the dependencies. @param [in] pNodeParams - Pointer to the parameters of the kernel execution node. @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidDeviceFunction