| 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.cudaGraphDestroyNode(CUgraphNode_st node)
\brief Remove a node from the graph
Removes \p node from its graph.
|
static int |
cudart.cudaGraphExecHostNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st node,
cudaHostNodeParams pNodeParams)
\brief Sets the parameters for a host node in the given graphExec.
|
static int |
cudart.cudaGraphExecKernelNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st node,
cudaKernelNodeParams pNodeParams)
\brief Sets the parameters for a kernel node in the given graphExec
Sets the parameters of a kernel node in an executable graph \p hGraphExec.
|
static int |
cudart.cudaGraphExecMemcpyNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st node,
cudaMemcpy3DParms pNodeParams)
\brief Sets the parameters for a memcpy node in the given graphExec.
|
static int |
cudart.cudaGraphExecMemsetNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st node,
cudaMemsetParams pNodeParams)
\brief Sets the parameters for a memset node in the given graphExec.
|
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.cudaGraphHostNodeGetParams(CUgraphNode_st node,
cudaHostNodeParams pNodeParams)
\brief Returns a host node's parameters
Returns the parameters of host node \p node in \p pNodeParams.
|
static int |
cudart.cudaGraphHostNodeSetParams(CUgraphNode_st node,
cudaHostNodeParams pNodeParams)
\brief Sets a host node's parameters
Sets the parameters of host node \p node to \p nodeParams.
|
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.cudaGraphKernelNodeGetParams(CUgraphNode_st node,
cudaKernelNodeParams pNodeParams)
\brief Returns a kernel node's parameters
Returns the parameters of kernel node \p node in \p pNodeParams.
|
static int |
cudart.cudaGraphKernelNodeSetParams(CUgraphNode_st node,
cudaKernelNodeParams pNodeParams)
\brief Sets a kernel node's parameters
Sets the parameters of kernel node \p node to \p pNodeParams.
|
static int |
cudart.cudaGraphMemcpyNodeGetParams(CUgraphNode_st node,
cudaMemcpy3DParms pNodeParams)
\brief Returns a memcpy node's parameters
Returns the parameters of memcpy node \p node in \p pNodeParams.
|
static int |
cudart.cudaGraphMemcpyNodeSetParams(CUgraphNode_st node,
cudaMemcpy3DParms pNodeParams)
\brief Sets a memcpy node's parameters
Sets the parameters of memcpy node \p node to \p pNodeParams.
|
static int |
cudart.cudaGraphMemsetNodeGetParams(CUgraphNode_st node,
cudaMemsetParams pNodeParams)
\brief Returns a memset node's parameters
Returns the parameters of memset node \p node in \p pNodeParams.
|
static int |
cudart.cudaGraphMemsetNodeSetParams(CUgraphNode_st node,
cudaMemsetParams pNodeParams)
\brief Sets a memset node's parameters
Sets the parameters of memset node \p node to \p pNodeParams.
|
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.cudaGraphNodeGetDependencies(CUgraphNode_st node,
CUgraphNode_st pDependencies,
SizeTPointer pNumDependencies)
\brief Returns a node's dependencies
Returns a list of \p node's dependencies.
|
static int |
cudart.cudaGraphNodeGetDependentNodes(CUgraphNode_st node,
CUgraphNode_st pDependentNodes,
SizeTPointer pNumDependentNodes)
\brief Returns a node's dependent nodes
Returns a list of \p node's dependent nodes.
|
static int |
cudart.cudaGraphNodeGetType(CUgraphNode_st node,
int[] pType) |
static int |
cudart.cudaGraphNodeGetType(CUgraphNode_st node,
IntBuffer pType) |
static int |
cudart.cudaGraphNodeGetType(CUgraphNode_st node,
IntPointer pType)
\brief Returns a node's type
Returns the node type of \p node in \p pType.
|
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.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.cuGraphDestroyNode(CUgraphNode_st hNode)
\brief Remove a node from the graph
Removes \p hNode from its graph.
|
static int |
cudart.cuGraphExecHostNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUDA_HOST_NODE_PARAMS nodeParams)
\brief Sets the parameters for a host node in the given graphExec.
|
static int |
cudart.cuGraphExecKernelNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUDA_KERNEL_NODE_PARAMS nodeParams)
\brief Sets the parameters for a kernel node in the given graphExec
Sets the parameters of a kernel node in an executable graph \p hGraphExec.
|
static int |
cudart.cuGraphExecMemcpyNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUDA_MEMCPY3D copyParams,
CUctx_st ctx)
\brief Sets the parameters for a memcpy node in the given graphExec.
|
static int |
cudart.cuGraphExecMemsetNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUDA_MEMSET_NODE_PARAMS memsetParams,
CUctx_st ctx)
\brief Sets the parameters for a memset node in the given graphExec.
|
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.cuGraphHostNodeGetParams(CUgraphNode_st hNode,
CUDA_HOST_NODE_PARAMS nodeParams)
\brief Returns a host node's parameters
Returns the parameters of host node \p hNode in \p nodeParams.
|
static int |
cudart.cuGraphHostNodeSetParams(CUgraphNode_st hNode,
CUDA_HOST_NODE_PARAMS nodeParams)
\brief Sets a host node's parameters
Sets the parameters of host node \p hNode to \p nodeParams.
|
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.cuGraphKernelNodeGetParams(CUgraphNode_st hNode,
CUDA_KERNEL_NODE_PARAMS nodeParams)
\brief Returns a kernel node's parameters
Returns the parameters of kernel node \p hNode in \p nodeParams.
|
static int |
cudart.cuGraphKernelNodeSetParams(CUgraphNode_st hNode,
CUDA_KERNEL_NODE_PARAMS nodeParams)
\brief Sets a kernel node's parameters
Sets the parameters of kernel node \p hNode to \p nodeParams.
|
static int |
cudart.cuGraphMemcpyNodeGetParams(CUgraphNode_st hNode,
CUDA_MEMCPY3D nodeParams)
\brief Returns a memcpy node's parameters
Returns the parameters of memcpy node \p hNode in \p nodeParams.
|
static int |
cudart.cuGraphMemcpyNodeSetParams(CUgraphNode_st hNode,
CUDA_MEMCPY3D nodeParams)
\brief Sets a memcpy node's parameters
Sets the parameters of memcpy node \p hNode to \p nodeParams.
|
static int |
cudart.cuGraphMemsetNodeGetParams(CUgraphNode_st hNode,
CUDA_MEMSET_NODE_PARAMS nodeParams)
\brief Returns a memset node's parameters
Returns the parameters of memset node \p hNode in \p nodeParams.
|
static int |
cudart.cuGraphMemsetNodeSetParams(CUgraphNode_st hNode,
CUDA_MEMSET_NODE_PARAMS nodeParams)
\brief Sets a memset node's parameters
Sets the parameters of memset node \p hNode to \p nodeParams.
|
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.cuGraphNodeGetDependencies(CUgraphNode_st hNode,
CUgraphNode_st dependencies,
SizeTPointer numDependencies)
\brief Returns a node's dependencies
Returns a list of \p node's dependencies.
|
static int |
cudart.cuGraphNodeGetDependentNodes(CUgraphNode_st hNode,
CUgraphNode_st dependentNodes,
SizeTPointer numDependentNodes)
\brief Returns a node's dependent nodes
Returns a list of \p node's dependent nodes.
|
static int |
cudart.cuGraphNodeGetType(CUgraphNode_st hNode,
int[] type) |
static int |
cudart.cuGraphNodeGetType(CUgraphNode_st hNode,
IntBuffer type) |
static int |
cudart.cuGraphNodeGetType(CUgraphNode_st hNode,
IntPointer type)
\brief Returns a node's type
Returns the node type of \p hNode in \p type.
|
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.
|
Copyright © 2019. All rights reserved.