Function cuGraphNodeGetType

Source
pub unsafe extern "C" fn cuGraphNodeGetType(
    hNode: CUgraphNode,
    type_: *mut CUgraphNodeType,
) -> CUresult
Expand description

\brief Returns a node’s type

Returns the node type of \p hNode in \p type.

\param hNode - Node to query \param type - Pointer to return the node type

\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE \note_graph_thread_safety \notefnerr

\sa ::cuGraphGetNodes, ::cuGraphGetRootNodes, ::cuGraphChildGraphNodeGetGraph, ::cuGraphKernelNodeGetParams, ::cuGraphKernelNodeSetParams, ::cuGraphHostNodeGetParams, ::cuGraphHostNodeSetParams, ::cuGraphMemcpyNodeGetParams, ::cuGraphMemcpyNodeSetParams, ::cuGraphMemsetNodeGetParams, ::cuGraphMemsetNodeSetParams