Package | Description |
---|---|
org.bytedeco.cuda.cudart | |
org.bytedeco.cuda.global |
Modifier and Type | Method and Description |
---|---|
CUgraph_st |
CUDA_CHILD_GRAPH_NODE_PARAMS.graph()
The child graph to clone into the node for node creation, or
a handle to the graph owned by the node for node query
|
CUgraph_st |
cudaChildGraphNodeParams.graph()
The child graph to clone into the node for node creation, or
a handle to the graph owned by the node for node query
|
CUgraph_st |
CUDA_CONDITIONAL_NODE_PARAMS.phGraph_out()
CUDA-owned array populated with conditional node child graphs during creation of the node.
|
CUgraph_st |
cudaConditionalNodeParams.phGraph_out()
CUDA-owned array populated with conditional node child graphs during creation of the node.
|
Modifier and Type | Method and Description |
---|---|
CUDA_CHILD_GRAPH_NODE_PARAMS |
CUDA_CHILD_GRAPH_NODE_PARAMS.graph(CUgraph_st setter) |
cudaChildGraphNodeParams |
cudaChildGraphNodeParams.graph(CUgraph_st setter) |
CUDA_CONDITIONAL_NODE_PARAMS |
CUDA_CONDITIONAL_NODE_PARAMS.phGraph_out(CUgraph_st setter) |
cudaConditionalNodeParams |
cudaConditionalNodeParams.phGraph_out(CUgraph_st setter) |
Modifier and Type | Method and Description |
---|---|
static int |
cudart.cudaGraphAddChildGraphNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
CUgraph_st childGraph)
\brief Creates a child graph node and adds it to a graph
Creates a new node which executes an embedded graph, and adds it to \p graph with
\p numDependencies dependencies specified via \p pDependencies.
|
static int |
cudart.cudaGraphAddDependencies_v2(CUgraph_st graph,
CUgraphNode_st from,
CUgraphNode_st to,
cudaGraphEdgeData edgeData,
long numDependencies)
\brief Adds dependency edges to a graph.
|
static int |
cudart.cudaGraphAddDependencies(CUgraph_st graph,
CUgraphNode_st from,
CUgraphNode_st to,
long numDependencies)
\brief Adds dependency edges to a graph.
|
static int |
cudart.cudaGraphAddEmptyNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies)
\brief Creates an empty node and adds it to a graph
Creates a new node which performs no operation, and adds it to \p graph with
\p numDependencies dependencies specified via \p pDependencies.
|
static int |
cudart.cudaGraphAddEventRecordNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
CUevent_st event)
\brief Creates an event record node and adds it to a graph
Creates a new event record node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies and event specified in \p event.
|
static int |
cudart.cudaGraphAddEventWaitNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
CUevent_st event)
\brief Creates an event wait node and adds it to a graph
Creates a new event wait node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies and event specified in \p event.
|
static int |
cudart.cudaGraphAddExternalSemaphoresSignalNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
cudaExternalSemaphoreSignalNodeParams nodeParams)
\brief Creates an external semaphore signal node and adds it to a graph
Creates a new external semaphore signal node and adds it to \p graph with \p
numDependencies dependencies specified via \p dependencies and arguments specified
in \p nodeParams.
|
static int |
cudart.cudaGraphAddExternalSemaphoresWaitNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
cudaExternalSemaphoreWaitNodeParams nodeParams)
\brief Creates an external semaphore wait node and adds it to a graph
Creates a new external semaphore wait node and adds it to \p graph with \p numDependencies
dependencies specified via \p dependencies and arguments specified in \p nodeParams.
|
static int |
cudart.cudaGraphAddHostNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
cudaHostNodeParams pNodeParams)
\brief Creates a host execution node and adds it to a graph
Creates a new CPU execution node and adds it to \p graph with \p numDependencies
dependencies specified via \p pDependencies and arguments specified in \p pNodeParams.
|
static int |
cudart.cudaGraphAddKernelNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
cudaKernelNodeParams pNodeParams)
\brief Creates a kernel execution node and adds it to a graph
Creates a new kernel execution node and adds it to \p graph with \p numDependencies
dependencies specified via \p pDependencies and arguments specified in \p pNodeParams.
|
static int |
cudart.cudaGraphAddMemAllocNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
cudaMemAllocNodeParams nodeParams)
\brief Creates an allocation node and adds it to a graph
Creates a new allocation node and adds it to \p graph with \p numDependencies
dependencies specified via \p pDependencies and arguments specified in \p nodeParams.
|
static int |
cudart.cudaGraphAddMemcpyNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
cudaMemcpy3DParms pCopyParams)
\brief Creates a memcpy node and adds it to a graph
Creates a new memcpy node and adds it to \p graph with \p numDependencies
dependencies specified via \p pDependencies.
|
static int |
cudart.cudaGraphAddMemcpyNode1D(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
Pointer dst,
Pointer src,
long count,
int kind)
\brief Creates a 1D memcpy node and adds it to a graph
Creates a new 1D memcpy node and adds it to \p graph with \p numDependencies
dependencies specified via \p pDependencies.
|
static int |
cudart.cudaGraphAddMemcpyNodeFromSymbol(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
Pointer dst,
Pointer symbol,
long count,
long offset,
int kind)
\brief Creates a memcpy node to copy from a symbol on the device and adds it to a graph
Creates a new memcpy node to copy from \p symbol and adds it to \p graph with
\p numDependencies dependencies specified via \p pDependencies.
|
static int |
cudart.cudaGraphAddMemcpyNodeToSymbol(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
Pointer symbol,
Pointer src,
long count,
long offset,
int kind)
\brief Creates a memcpy node to copy to a symbol on the device and adds it to a graph
Creates a new memcpy node to copy to \p symbol and adds it to \p graph with
\p numDependencies dependencies specified via \p pDependencies.
|
static int |
cudart.cudaGraphAddMemFreeNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
Pointer dptr)
\brief Creates a memory free node and adds it to a graph
Creates a new memory free node and adds it to \p graph with \p numDependencies
dependencies specified via \p pDependencies and address specified in \p dptr.
|
static int |
cudart.cudaGraphAddMemsetNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
cudaMemsetParams pMemsetParams)
\brief Creates a memset node and adds it to a graph
Creates a new memset node and adds it to \p graph with \p numDependencies
dependencies specified via \p pDependencies.
|
static int |
cudart.cudaGraphAddNode_v2(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
cudaGraphEdgeData dependencyData,
long numDependencies,
cudaGraphNodeParams nodeParams)
\brief Adds a node of arbitrary type to a graph (12.3+)
Creates a new node in \p graph described by \p nodeParams with \p numDependencies
dependencies specified via \p pDependencies.
|
static int |
cudart.cudaGraphAddNode(CUgraphNode_st pGraphNode,
CUgraph_st graph,
CUgraphNode_st pDependencies,
long numDependencies,
cudaGraphNodeParams nodeParams)
\brief Adds a node of arbitrary type to a graph
Creates a new node in \p graph described by \p nodeParams with \p numDependencies
dependencies specified via \p pDependencies.
|
static int |
cudart.cudaGraphChildGraphNodeGetGraph(CUgraphNode_st node,
CUgraph_st pGraph)
\brief Gets a handle to the embedded graph of a child graph node
Gets a handle to the embedded graph in a child graph node.
|
static int |
cudart.cudaGraphClone(CUgraph_st pGraphClone,
CUgraph_st originalGraph)
\brief Clones a graph
This function creates a copy of \p originalGraph and returns it in \p pGraphClone.
|
static int |
cudart.cudaGraphConditionalHandleCreate(long[] pHandle_out,
CUgraph_st graph) |
static int |
cudart.cudaGraphConditionalHandleCreate(long[] pHandle_out,
CUgraph_st graph,
int defaultLaunchValue,
int flags) |
static int |
cudart.cudaGraphConditionalHandleCreate(LongBuffer pHandle_out,
CUgraph_st graph) |
static int |
cudart.cudaGraphConditionalHandleCreate(LongBuffer pHandle_out,
CUgraph_st graph,
int defaultLaunchValue,
int flags) |
static int |
cudart.cudaGraphConditionalHandleCreate(LongPointer pHandle_out,
CUgraph_st graph) |
static int |
cudart.cudaGraphConditionalHandleCreate(LongPointer pHandle_out,
CUgraph_st graph,
int defaultLaunchValue,
int flags)
\brief Create a conditional handle
Creates a conditional handle associated with \p hGraph.
|
static int |
cudart.cudaGraphCreate(CUgraph_st pGraph,
int flags)
\brief Creates a graph
Creates an empty graph, which is returned via \p pGraph.
|
static int |
cudart.cudaGraphDebugDotPrint(CUgraph_st graph,
BytePointer path,
int flags)
\brief Write a DOT file describing graph structure
Using the provided \p graph, write to \p path a DOT formatted description of the graph.
|
static int |
cudart.cudaGraphDebugDotPrint(CUgraph_st graph,
String path,
int flags) |
static int |
cudart.cudaGraphDestroy(CUgraph_st graph)
\brief Destroys a graph
Destroys the graph specified by \p graph, as well as all of its nodes.
|
static int |
cudart.cudaGraphExecChildGraphNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st node,
CUgraph_st childGraph)
\brief Updates node parameters in the child graph node in the given graphExec.
|
static int |
cudart.cudaGraphExecUpdate(CUgraphExec_st hGraphExec,
CUgraph_st hGraph,
cudaGraphExecUpdateResultInfo resultInfo)
\brief Check whether an executable graph can be updated with a graph and perform the update if possible
Updates the node parameters in the instantiated graph specified by \p hGraphExec with the
node parameters in a topologically identical graph specified by \p hGraph.
|
static int |
cudart.cudaGraphGetEdges_v2(CUgraph_st graph,
CUgraphNode_st from,
CUgraphNode_st to,
cudaGraphEdgeData edgeData,
SizeTPointer numEdges)
\brief Returns a graph's dependency edges (12.3+)
Returns a list of \p graph's dependency edges.
|
static int |
cudart.cudaGraphGetEdges(CUgraph_st graph,
CUgraphNode_st from,
CUgraphNode_st to,
SizeTPointer numEdges)
\brief Returns a graph's dependency edges
Returns a list of \p graph's dependency edges.
|
static int |
cudart.cudaGraphGetNodes(CUgraph_st graph,
CUgraphNode_st nodes,
SizeTPointer numNodes)
\brief Returns a graph's nodes
Returns a list of \p graph's nodes.
|
static int |
cudart.cudaGraphGetRootNodes(CUgraph_st graph,
CUgraphNode_st pRootNodes,
SizeTPointer pNumRootNodes)
\brief Returns a graph's root nodes
Returns a list of \p graph's root nodes.
|
static int |
cudart.cudaGraphInstantiate(CUgraphExec_st pGraphExec,
CUgraph_st graph) |
static int |
cudart.cudaGraphInstantiate(CUgraphExec_st pGraphExec,
CUgraph_st graph,
long flags)
\brief Creates an executable graph from a graph
Instantiates \p graph as an executable graph.
|
static int |
cudart.cudaGraphInstantiateWithFlags(CUgraphExec_st pGraphExec,
CUgraph_st graph) |
static int |
cudart.cudaGraphInstantiateWithFlags(CUgraphExec_st pGraphExec,
CUgraph_st graph,
long flags)
\brief Creates an executable graph from a graph
Instantiates \p graph as an executable graph.
|
static int |
cudart.cudaGraphInstantiateWithParams(CUgraphExec_st pGraphExec,
CUgraph_st graph,
cudaGraphInstantiateParams instantiateParams)
\brief Creates an executable graph from a graph
Instantiates \p graph as an executable graph according to the \p instantiateParams structure.
|
static int |
cudart.cudaGraphNodeFindInClone(CUgraphNode_st pNode,
CUgraphNode_st originalNode,
CUgraph_st clonedGraph)
\brief Finds a cloned version of a node
This function returns the node in \p clonedGraph corresponding to \p originalNode
in the original graph.
|
static int |
cudart.cudaGraphReleaseUserObject(CUgraph_st graph,
CUuserObject_st object) |
static int |
cudart.cudaGraphReleaseUserObject(CUgraph_st graph,
CUuserObject_st object,
int count)
\brief Release a user object reference from a graph
Releases user object references owned by a graph.
|
static int |
cudart.cudaGraphRemoveDependencies_v2(CUgraph_st graph,
CUgraphNode_st from,
CUgraphNode_st to,
cudaGraphEdgeData edgeData,
long numDependencies)
\brief Removes dependency edges from a graph.
|
static int |
cudart.cudaGraphRemoveDependencies(CUgraph_st graph,
CUgraphNode_st from,
CUgraphNode_st to,
long numDependencies)
\brief Removes dependency edges from a graph.
|
static int |
cudart.cudaGraphRetainUserObject(CUgraph_st graph,
CUuserObject_st object) |
static int |
cudart.cudaGraphRetainUserObject(CUgraph_st graph,
CUuserObject_st object,
int count,
int flags)
\brief Retain a reference to a user object from a graph
Creates or moves user object references that will be owned by a CUDA graph.
|
static int |
cudart.cudaStreamBeginCaptureToGraph(CUstream_st stream,
CUgraph_st graph,
CUgraphNode_st dependencies,
cudaGraphEdgeData dependencyData,
long numDependencies,
int mode)
\brief Begins graph capture on a stream to an existing graph
Begin graph capture on \p stream.
|
static int |
cudart.cudaStreamEndCapture(CUstream_st stream,
CUgraph_st pGraph)
\brief Ends capture on a stream, returning the captured graph
End capture on \p stream, returning the captured graph via \p pGraph.
|
static int |
cudart.cudaStreamGetCaptureInfo_v3(CUstream_st stream,
int[] captureStatus_out,
long[] id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
cudaGraphEdgeData edgeData_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cudaStreamGetCaptureInfo_v3(CUstream_st stream,
IntBuffer captureStatus_out,
LongBuffer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
cudaGraphEdgeData edgeData_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cudaStreamGetCaptureInfo_v3(CUstream_st stream,
IntPointer captureStatus_out,
LongPointer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
cudaGraphEdgeData edgeData_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cudaStreamGetCaptureInfo_v3(CUstream_st stream,
IntPointer captureStatus_out,
LongPointer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
PointerPointer edgeData_out,
SizeTPointer numDependencies_out)
\brief Query a stream's capture state (12.3+)
Query stream state related to stream capture.
|
static int |
cudart.cudaStreamGetCaptureInfo(CUstream_st stream,
int[] captureStatus_out,
long[] id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cudaStreamGetCaptureInfo(CUstream_st stream,
IntBuffer captureStatus_out,
LongBuffer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cudaStreamGetCaptureInfo(CUstream_st stream,
IntPointer captureStatus_out,
LongPointer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
SizeTPointer numDependencies_out)
\brief Query a stream's capture state
Query stream state related to stream capture.
|
static int |
cudart.cuGraphAddBatchMemOpNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_BATCH_MEM_OP_NODE_PARAMS_v1 nodeParams)
\brief Creates a batch memory operation node and adds it to a graph
Creates a new batch memory operation node and adds it to \p hGraph with \p
numDependencies dependencies specified via \p dependencies and arguments specified in \p nodeParams.
|
static int |
cudart.cuGraphAddChildGraphNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUgraph_st childGraph)
\brief Creates a child graph node and adds it to a graph
Creates a new node which executes an embedded graph, and adds it to \p hGraph with
\p numDependencies dependencies specified via \p dependencies.
|
static int |
cudart.cuGraphAddDependencies_v2(CUgraph_st hGraph,
CUgraphNode_st from,
CUgraphNode_st to,
CUgraphEdgeData edgeData,
long numDependencies)
\brief Adds dependency edges to a graph (12.3+)
The number of dependencies to be added is defined by \p numDependencies
Elements in \p from and \p to at corresponding indices define a dependency.
|
static int |
cudart.cuGraphAddDependencies(CUgraph_st hGraph,
CUgraphNode_st from,
CUgraphNode_st to,
long numDependencies)
\brief Adds dependency edges to a graph
The number of dependencies to be added is defined by \p numDependencies
Elements in \p from and \p to at corresponding indices define a dependency.
|
static int |
cudart.cuGraphAddEmptyNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies)
\brief Creates an empty node and adds it to a graph
Creates a new node which performs no operation, and adds it to \p hGraph with
\p numDependencies dependencies specified via \p dependencies.
|
static int |
cudart.cuGraphAddEventRecordNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUevent_st event)
\brief Creates an event record node and adds it to a graph
Creates a new event record node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies and event specified in \p event.
|
static int |
cudart.cuGraphAddEventWaitNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUevent_st event)
\brief Creates an event wait node and adds it to a graph
Creates a new event wait node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies and event specified in \p event.
|
static int |
cudart.cuGraphAddExternalSemaphoresSignalNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v1 nodeParams)
\brief Creates an external semaphore signal node and adds it to a graph
Creates a new external semaphore signal node and adds it to \p hGraph with \p
numDependencies dependencies specified via \p dependencies and arguments specified
in \p nodeParams.
|
static int |
cudart.cuGraphAddExternalSemaphoresWaitNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_EXT_SEM_WAIT_NODE_PARAMS_v1 nodeParams)
\brief Creates an external semaphore wait node and adds it to a graph
Creates a new external semaphore wait node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies and arguments specified in \p nodeParams.
|
static int |
cudart.cuGraphAddHostNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_HOST_NODE_PARAMS_v1 nodeParams)
\brief Creates a host execution node and adds it to a graph
Creates a new CPU execution node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies and arguments specified in \p nodeParams.
|
static int |
cudart.cuGraphAddKernelNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_KERNEL_NODE_PARAMS_v2 nodeParams)
\brief Creates a kernel execution node and adds it to a graph
Creates a new kernel execution node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies and arguments specified in \p nodeParams.
|
static int |
cudart.cuGraphAddMemAllocNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_MEM_ALLOC_NODE_PARAMS_v1 nodeParams)
\brief Creates an allocation node and adds it to a graph
Creates a new allocation node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies and arguments specified in \p nodeParams.
|
static int |
cudart.cuGraphAddMemcpyNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_MEMCPY3D_v2 copyParams,
CUctx_st ctx)
\brief Creates a memcpy node and adds it to a graph
Creates a new memcpy node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies.
|
static int |
cudart.cuGraphAddMemFreeNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
long dptr)
\brief Creates a memory free node and adds it to a graph
Creates a new memory free node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies and arguments specified in \p nodeParams.
|
static int |
cudart.cuGraphAddMemsetNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_MEMSET_NODE_PARAMS_v1 memsetParams,
CUctx_st ctx)
\brief Creates a memset node and adds it to a graph
Creates a new memset node and adds it to \p hGraph with \p numDependencies
dependencies specified via \p dependencies.
|
static int |
cudart.cuGraphAddNode_v2(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
CUgraphEdgeData dependencyData,
long numDependencies,
CUgraphNodeParams nodeParams)
\brief Adds a node of arbitrary type to a graph (12.3+)
Creates a new node in \p hGraph described by \p nodeParams with \p numDependencies
dependencies specified via \p dependencies.
|
static int |
cudart.cuGraphAddNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUgraphNodeParams nodeParams)
\brief Adds a node of arbitrary type to a graph
Creates a new node in \p hGraph described by \p nodeParams with \p numDependencies
dependencies specified via \p dependencies.
|
static int |
cudart.cuGraphChildGraphNodeGetGraph(CUgraphNode_st hNode,
CUgraph_st phGraph)
\brief Gets a handle to the embedded graph of a child graph node
Gets a handle to the embedded graph in a child graph node.
|
static int |
cudart.cuGraphClone(CUgraph_st phGraphClone,
CUgraph_st originalGraph)
\brief Clones a graph
This function creates a copy of \p originalGraph and returns it in \p phGraphClone.
|
static int |
cudart.cuGraphConditionalHandleCreate(long[] pHandle_out,
CUgraph_st hGraph,
CUctx_st ctx,
int defaultLaunchValue,
int flags) |
static int |
cudart.cuGraphConditionalHandleCreate(LongBuffer pHandle_out,
CUgraph_st hGraph,
CUctx_st ctx,
int defaultLaunchValue,
int flags) |
static int |
cudart.cuGraphConditionalHandleCreate(LongPointer pHandle_out,
CUgraph_st hGraph,
CUctx_st ctx,
int defaultLaunchValue,
int flags)
\brief Create a conditional handle
Creates a conditional handle associated with \p hGraph.
|
static int |
cudart.cuGraphCreate(CUgraph_st phGraph,
int flags)
\brief Creates a graph
Creates an empty graph, which is returned via \p phGraph.
|
static int |
cudart.cuGraphDebugDotPrint(CUgraph_st hGraph,
BytePointer path,
int flags)
\brief Write a DOT file describing graph structure
Using the provided \p hGraph, write to \p path a DOT formatted description of the graph.
|
static int |
cudart.cuGraphDebugDotPrint(CUgraph_st hGraph,
String path,
int flags) |
static int |
cudart.cuGraphDestroy(CUgraph_st hGraph)
\brief Destroys a graph
Destroys the graph specified by \p hGraph, as well as all of its nodes.
|
static int |
cudart.cuGraphExecChildGraphNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUgraph_st childGraph)
\brief Updates node parameters in the child graph node in the given graphExec.
|
static int |
cudart.cuGraphExecUpdate(CUgraphExec_st hGraphExec,
CUgraph_st hGraph,
CUgraphExecUpdateResultInfo_v1 resultInfo)
\brief Check whether an executable graph can be updated with a graph and perform the update if possible
Updates the node parameters in the instantiated graph specified by \p hGraphExec with the
node parameters in a topologically identical graph specified by \p hGraph.
|
static int |
cudart.cuGraphGetEdges_v2(CUgraph_st hGraph,
CUgraphNode_st from,
CUgraphNode_st to,
CUgraphEdgeData edgeData,
SizeTPointer numEdges)
\brief Returns a graph's dependency edges (12.3+)
Returns a list of \p hGraph's dependency edges.
|
static int |
cudart.cuGraphGetEdges(CUgraph_st hGraph,
CUgraphNode_st from,
CUgraphNode_st to,
SizeTPointer numEdges)
\brief Returns a graph's dependency edges
Returns a list of \p hGraph's dependency edges.
|
static int |
cudart.cuGraphGetNodes(CUgraph_st hGraph,
CUgraphNode_st nodes,
SizeTPointer numNodes)
\brief Returns a graph's nodes
Returns a list of \p hGraph's nodes.
|
static int |
cudart.cuGraphGetRootNodes(CUgraph_st hGraph,
CUgraphNode_st rootNodes,
SizeTPointer numRootNodes)
\brief Returns a graph's root nodes
Returns a list of \p hGraph's root nodes.
|
static int |
cudart.cuGraphInstantiate(CUgraphExec_st phGraphExec,
CUgraph_st hGraph,
long flags)
\brief Creates an executable graph from a graph
Instantiates \p hGraph as an executable graph.
|
static int |
cudart.cuGraphInstantiateWithParams(CUgraphExec_st phGraphExec,
CUgraph_st hGraph,
CUDA_GRAPH_INSTANTIATE_PARAMS instantiateParams)
\brief Creates an executable graph from a graph
Instantiates \p hGraph as an executable graph according to the \p instantiateParams structure.
|
static int |
cudart.cuGraphNodeFindInClone(CUgraphNode_st phNode,
CUgraphNode_st hOriginalNode,
CUgraph_st hClonedGraph)
\brief Finds a cloned version of a node
This function returns the node in \p hClonedGraph corresponding to \p hOriginalNode
in the original graph.
|
static int |
cudart.cuGraphReleaseUserObject(CUgraph_st graph,
CUuserObject_st object,
int count)
\brief Release a user object reference from a graph
Releases user object references owned by a graph.
|
static int |
cudart.cuGraphRemoveDependencies_v2(CUgraph_st hGraph,
CUgraphNode_st from,
CUgraphNode_st to,
CUgraphEdgeData edgeData,
long numDependencies)
\brief Removes dependency edges from a graph (12.3+)
The number of \p dependencies to be removed is defined by \p numDependencies.
|
static int |
cudart.cuGraphRemoveDependencies(CUgraph_st hGraph,
CUgraphNode_st from,
CUgraphNode_st to,
long numDependencies)
\brief Removes dependency edges from a graph
The number of \p dependencies to be removed is defined by \p numDependencies.
|
static int |
cudart.cuGraphRetainUserObject(CUgraph_st graph,
CUuserObject_st object,
int count,
int flags)
\brief Retain a reference to a user object from a graph
Creates or moves user object references that will be owned by a CUDA graph.
|
static int |
cudart.cuStreamBeginCaptureToGraph(CUstream_st hStream,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
CUgraphEdgeData dependencyData,
long numDependencies,
int mode)
\brief Begins graph capture on a stream to an existing graph
Begin graph capture on \p hStream, placing new nodes into an existing graph.
|
static int |
cudart.cuStreamEndCapture(CUstream_st hStream,
CUgraph_st phGraph)
\brief Ends capture on a stream, returning the captured graph
End capture on \p hStream, returning the captured graph via \p phGraph.
|
static int |
cudart.cuStreamGetCaptureInfo_v3(CUstream_st hStream,
int[] captureStatus_out,
long[] id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
CUgraphEdgeData edgeData_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cuStreamGetCaptureInfo_v3(CUstream_st hStream,
IntBuffer captureStatus_out,
LongBuffer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
CUgraphEdgeData edgeData_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cuStreamGetCaptureInfo_v3(CUstream_st hStream,
IntPointer captureStatus_out,
LongPointer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
CUgraphEdgeData edgeData_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cuStreamGetCaptureInfo_v3(CUstream_st hStream,
IntPointer captureStatus_out,
LongPointer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
PointerPointer edgeData_out,
SizeTPointer numDependencies_out)
\brief Query a stream's capture state (12.3+)
Query stream state related to stream capture.
|
static int |
cudart.cuStreamGetCaptureInfo(CUstream_st hStream,
int[] captureStatus_out,
long[] id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cuStreamGetCaptureInfo(CUstream_st hStream,
IntBuffer captureStatus_out,
LongBuffer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
SizeTPointer numDependencies_out) |
static int |
cudart.cuStreamGetCaptureInfo(CUstream_st hStream,
IntPointer captureStatus_out,
LongPointer id_out,
CUgraph_st graph_out,
PointerPointer dependencies_out,
SizeTPointer numDependencies_out)
\brief Query a stream's capture state
Query stream state related to stream capture.
|
Copyright © 2024. All rights reserved.