Library/ManagedCuda/CudaGraph.cs
/// <summary>
/// Finds a cloned version of a node<para/>
/// This function returns the node corresponding to originalNode
/// in the original graph.<para/>
/// This cloned graph must have been cloned from the original Graph via its Clone() method.
/// OriginalNode must have been in that graph at the time of the call to
/// Clone(), and the corresponding cloned node in this graph must not have
/// been removed. The cloned node is then returned.
/// </summary>
/// <param name="originalNode"></param>
Finds a cloned version of a node
This function returns the node corresponding to originalNode
in the original graph.
This cloned graph must have been cloned from the original Graph via its Clone() method.
OriginalNode must have been in that graph at the time of the call to
Clone(), and the corresponding cloned node in this graph must not have
been removed. The cloned node is then returned.
Finds a cloned version of a node This function returns the node corresponding to originalNode in the original graph . This cloned graph must have been cloned from the original Graph via its Clone () method . OriginalNode must have been in that graph at the time of the call to Clone () and the corresponding cloned node in this graph must not have been removed . The cloned node is then returned .
public CUgraphNode NodeFindInClone(CUgraphNode originalNode)
        {
            CUgraphNode clone = new CUgraphNode();
            res = DriverAPINativeMethods.GraphManagment.cuGraphNodeFindInClone(ref clone, originalNode, _graph);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cuGraphNodeFindInClone", res));
            if (res != CUResult.Success) throw new CudaException(res);
            return clone;
        }
public CUgraphNode NodeFindInClone ( CUgraphNode originalNode ) { CUgraphNode clone = new CUgraphNode ( ) ; res = DriverAPINativeMethods . GraphManagment . cuGraphNodeFindInClone ( ref clone , originalNode , _graph ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != CUResult . Success ) throw new CudaException ( res ) ; return clone ; }
Finds a cloned version of a node
This function returns the node corresponding to originalNode
in the original graph.
Finds a cloned version of a node This function returns the node corresponding to originalNode in the original graph .
originalNode
CUgraphNode
None