| Package | Description |
|---|---|
| org.bytedeco.cuda.global |
| 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(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.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.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.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.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.cudaGraphCreate(CUgraph_st pGraph,
int flags)
\brief Creates a graph
Creates an empty graph, which is returned via \p pGraph.
|
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.cudaGraphExecUpdate(CUgraphExec_st hGraphExec,
CUgraph_st hGraph,
CUgraphNode_st hErrorNode_out,
int[] updateResult_out) |
static int |
cudart.cudaGraphExecUpdate(CUgraphExec_st hGraphExec,
CUgraph_st hGraph,
CUgraphNode_st hErrorNode_out,
IntBuffer updateResult_out) |
static int |
cudart.cudaGraphExecUpdate(CUgraphExec_st hGraphExec,
CUgraph_st hGraph,
CUgraphNode_st hErrorNode_out,
IntPointer updateResult_out)
\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(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,
CUgraphNode_st pErrorNode,
byte[] pLogBuffer,
long bufferSize) |
static int |
cudart.cudaGraphInstantiate(CUgraphExec_st pGraphExec,
CUgraph_st graph,
CUgraphNode_st pErrorNode,
ByteBuffer pLogBuffer,
long bufferSize) |
static int |
cudart.cudaGraphInstantiate(CUgraphExec_st pGraphExec,
CUgraph_st graph,
CUgraphNode_st pErrorNode,
BytePointer pLogBuffer,
long bufferSize)
\brief Creates an executable graph from a graph
Instantiates \p graph as an executable graph.
|
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.cudaGraphRemoveDependencies(CUgraph_st graph,
CUgraphNode_st from,
CUgraphNode_st to,
long numDependencies)
\brief Removes dependency edges from a graph.
|
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.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(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.cuGraphAddHostNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_HOST_NODE_PARAMS 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 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.cuGraphAddMemcpyNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_MEMCPY3D 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.cuGraphAddMemsetNode(CUgraphNode_st phGraphNode,
CUgraph_st hGraph,
CUgraphNode_st dependencies,
long numDependencies,
CUDA_MEMSET_NODE_PARAMS 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.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.cuGraphCreate(CUgraph_st phGraph,
int flags)
\brief Creates a graph
Creates an empty graph, which is returned via \p phGraph.
|
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.cuGraphExecUpdate(CUgraphExec_st hGraphExec,
CUgraph_st hGraph,
CUgraphNode_st hErrorNode_out,
int[] updateResult_out) |
static int |
cudart.cuGraphExecUpdate(CUgraphExec_st hGraphExec,
CUgraph_st hGraph,
CUgraphNode_st hErrorNode_out,
IntBuffer updateResult_out) |
static int |
cudart.cuGraphExecUpdate(CUgraphExec_st hGraphExec,
CUgraph_st hGraph,
CUgraphNode_st hErrorNode_out,
IntPointer updateResult_out)
\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(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,
CUgraphNode_st phErrorNode,
byte[] logBuffer,
long bufferSize) |
static int |
cudart.cuGraphInstantiate(CUgraphExec_st phGraphExec,
CUgraph_st hGraph,
CUgraphNode_st phErrorNode,
ByteBuffer logBuffer,
long bufferSize) |
static int |
cudart.cuGraphInstantiate(CUgraphExec_st phGraphExec,
CUgraph_st hGraph,
CUgraphNode_st phErrorNode,
BytePointer logBuffer,
long bufferSize)
\brief Creates an executable graph from a graph
Instantiates \p hGraph as an executable graph.
|
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.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.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.
|
Copyright © 2019. All rights reserved.