Package | Description |
---|---|
org.bytedeco.cuda.cudart | |
org.bytedeco.cuda.global |
Modifier and Type | Method and Description |
---|---|
CUgraphNode_st |
cudaGraphInstantiateParams.errNode_out()
The node which caused instantiation to fail, if any
|
CUgraphNode_st |
CUgraphExecUpdateResultInfo_v1.errorFromNode()
The from node of error edge when the topologies do not match.
|
CUgraphNode_st |
cudaGraphExecUpdateResultInfo.errorFromNode()
The from node of error edge when the topologies do not match.
|
CUgraphNode_st |
CUgraphExecUpdateResultInfo_v1.errorNode()
The "to node" of the error edge when the topologies do not match.
|
CUgraphNode_st |
cudaGraphExecUpdateResultInfo.errorNode()
The "to node" of the error edge when the topologies do not match.
|
CUgraphNode_st |
CUDA_GRAPH_INSTANTIATE_PARAMS.hErrNode_out()
The node which caused instantiation to fail, if any
|
Modifier and Type | Method and Description |
---|---|
cudaGraphInstantiateParams |
cudaGraphInstantiateParams.errNode_out(CUgraphNode_st setter) |
CUgraphExecUpdateResultInfo_v1 |
CUgraphExecUpdateResultInfo_v1.errorFromNode(CUgraphNode_st setter) |
cudaGraphExecUpdateResultInfo |
cudaGraphExecUpdateResultInfo.errorFromNode(CUgraphNode_st setter) |
CUgraphExecUpdateResultInfo_v1 |
CUgraphExecUpdateResultInfo_v1.errorNode(CUgraphNode_st setter) |
cudaGraphExecUpdateResultInfo |
cudaGraphExecUpdateResultInfo.errorNode(CUgraphNode_st setter) |
CUDA_GRAPH_INSTANTIATE_PARAMS |
CUDA_GRAPH_INSTANTIATE_PARAMS.hErrNode_out(CUgraphNode_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.cudaGraphDestroyNode(CUgraphNode_st node)
\brief Remove a node from the graph
Removes \p node from its graph.
|
static int |
cudart.cudaGraphEventRecordNodeGetEvent(CUgraphNode_st node,
CUevent_st event_out)
\brief Returns the event associated with an event record node
Returns the event of event record node \p hNode in \p event_out.
|
static int |
cudart.cudaGraphEventRecordNodeSetEvent(CUgraphNode_st node,
CUevent_st event)
\brief Sets an event record node's event
Sets the event of event record node \p hNode to \p event.
|
static int |
cudart.cudaGraphEventWaitNodeGetEvent(CUgraphNode_st node,
CUevent_st event_out)
\brief Returns the event associated with an event wait node
Returns the event of event wait node \p hNode in \p event_out.
|
static int |
cudart.cudaGraphEventWaitNodeSetEvent(CUgraphNode_st node,
CUevent_st event)
\brief Sets an event wait node's event
Sets the event of event wait node \p hNode to \p event.
|
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.cudaGraphExecEventRecordNodeSetEvent(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUevent_st event)
\brief Sets the event for an event record node in the given graphExec
Sets the event of an event record node in an executable graph \p hGraphExec.
|
static int |
cudart.cudaGraphExecEventWaitNodeSetEvent(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUevent_st event)
\brief Sets the event for an event wait node in the given graphExec
Sets the event of an event wait node in an executable graph \p hGraphExec.
|
static int |
cudart.cudaGraphExecExternalSemaphoresSignalNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
cudaExternalSemaphoreSignalNodeParams nodeParams)
\brief Sets the parameters for an external semaphore signal node in the given graphExec
Sets the parameters of an external semaphore signal node in an executable graph \p hGraphExec.
|
static int |
cudart.cudaGraphExecExternalSemaphoresWaitNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
cudaExternalSemaphoreWaitNodeParams nodeParams)
\brief Sets the parameters for an external semaphore wait node in the given graphExec
Sets the parameters of an external semaphore wait node in an executable graph \p hGraphExec.
|
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.cudaGraphExecMemcpyNodeSetParams1D(CUgraphExec_st hGraphExec,
CUgraphNode_st node,
Pointer dst,
Pointer src,
long count,
int kind)
\brief Sets the parameters for a memcpy node in the given graphExec to perform a 1-dimensional copy
Updates the work represented by \p node in \p hGraphExec as though \p node had
contained the given params at instantiation.
|
static int |
cudart.cudaGraphExecMemcpyNodeSetParamsFromSymbol(CUgraphExec_st hGraphExec,
CUgraphNode_st node,
Pointer dst,
Pointer symbol,
long count,
long offset,
int kind)
\brief Sets the parameters for a memcpy node in the given graphExec to copy from a symbol on the device
Updates the work represented by \p node in \p hGraphExec as though \p node had
contained the given params at instantiation.
|
static int |
cudart.cudaGraphExecMemcpyNodeSetParamsToSymbol(CUgraphExec_st hGraphExec,
CUgraphNode_st node,
Pointer symbol,
Pointer src,
long count,
long offset,
int kind)
\brief Sets the parameters for a memcpy node in the given graphExec to copy to a symbol on the device
Updates the work represented by \p node in \p hGraphExec as though \p node had
contained the given params at instantiation.
|
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.cudaGraphExecNodeSetParams(CUgraphExec_st graphExec,
CUgraphNode_st node,
cudaGraphNodeParams nodeParams)
\brief Update's a graph node's parameters in an instantiated graph
Sets the parameters of a node in an executable graph \p graphExec.
|
static int |
cudart.cudaGraphExternalSemaphoresSignalNodeGetParams(CUgraphNode_st hNode,
cudaExternalSemaphoreSignalNodeParams params_out)
\brief Returns an external semaphore signal node's parameters
Returns the parameters of an external semaphore signal node \p hNode in \p params_out.
|
static int |
cudart.cudaGraphExternalSemaphoresSignalNodeSetParams(CUgraphNode_st hNode,
cudaExternalSemaphoreSignalNodeParams nodeParams)
\brief Sets an external semaphore signal node's parameters
Sets the parameters of an external semaphore signal node \p hNode to \p nodeParams.
|
static int |
cudart.cudaGraphExternalSemaphoresWaitNodeGetParams(CUgraphNode_st hNode,
cudaExternalSemaphoreWaitNodeParams params_out)
\brief Returns an external semaphore wait node's parameters
Returns the parameters of an external semaphore wait node \p hNode in \p params_out.
|
static int |
cudart.cudaGraphExternalSemaphoresWaitNodeSetParams(CUgraphNode_st hNode,
cudaExternalSemaphoreWaitNodeParams nodeParams)
\brief Sets an external semaphore wait node's parameters
Sets the parameters of an external semaphore wait node \p hNode to \p nodeParams.
|
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.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.cudaGraphKernelNodeCopyAttributes(CUgraphNode_st hSrc,
CUgraphNode_st hDst)
\brief Copies attributes from source node to destination node.
|
static int |
cudart.cudaGraphKernelNodeGetAttribute(CUgraphNode_st hNode,
int attr,
cudaLaunchAttributeValue value_out)
\brief Queries node attribute.
|
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.cudaGraphKernelNodeSetAttribute(CUgraphNode_st hNode,
int attr,
cudaLaunchAttributeValue value)
\brief Sets node attribute.
|
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.cudaGraphMemAllocNodeGetParams(CUgraphNode_st node,
cudaMemAllocNodeParams params_out)
\brief Returns a memory alloc node's parameters
Returns the parameters of a memory alloc node \p hNode in \p params_out.
|
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.cudaGraphMemcpyNodeSetParams1D(CUgraphNode_st node,
Pointer dst,
Pointer src,
long count,
int kind)
\brief Sets a memcpy node's parameters to perform a 1-dimensional copy
Sets the parameters of memcpy node \p node to the copy described by the provided parameters.
|
static int |
cudart.cudaGraphMemcpyNodeSetParamsFromSymbol(CUgraphNode_st node,
Pointer dst,
Pointer symbol,
long count,
long offset,
int kind)
\brief Sets a memcpy node's parameters to copy from a symbol on the device
Sets the parameters of memcpy node \p node to the copy described by the provided parameters.
|
static int |
cudart.cudaGraphMemcpyNodeSetParamsToSymbol(CUgraphNode_st node,
Pointer symbol,
Pointer src,
long count,
long offset,
int kind)
\brief Sets a memcpy node's parameters to copy to a symbol on the device
Sets the parameters of memcpy node \p node to the copy described by the provided parameters.
|
static int |
cudart.cudaGraphMemFreeNodeGetParams(CUgraphNode_st node,
Pointer dptr_out)
\brief Returns a memory free node's parameters
Returns the address of a memory free node \p hNode in \p dptr_out.
|
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_v2(CUgraphNode_st node,
CUgraphNode_st pDependencies,
cudaGraphEdgeData edgeData,
SizeTPointer pNumDependencies)
\brief Returns a node's dependencies (12.3+)
Returns a list of \p node's dependencies.
|
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_v2(CUgraphNode_st node,
CUgraphNode_st pDependentNodes,
cudaGraphEdgeData edgeData,
SizeTPointer pNumDependentNodes)
\brief Returns a node's dependent nodes (12.3+)
Returns a list of \p node's dependent nodes.
|
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.cudaGraphNodeGetEnabled(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
int[] isEnabled) |
static int |
cudart.cudaGraphNodeGetEnabled(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
IntBuffer isEnabled) |
static int |
cudart.cudaGraphNodeGetEnabled(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
IntPointer isEnabled)
\brief Query whether a node in the given graphExec is enabled
Sets isEnabled to 1 if \p hNode is enabled, or 0 if \p hNode is disabled.
|
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.cudaGraphNodeSetEnabled(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
int isEnabled)
\brief Enables or disables the specified node in the given graphExec
Sets \p hNode to be either enabled or disabled.
|
static int |
cudart.cudaGraphNodeSetParams(CUgraphNode_st node,
cudaGraphNodeParams nodeParams)
\brief Update's a graph node's parameters
Sets the parameters of graph node \p node to \p nodeParams.
|
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.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.cudaStreamUpdateCaptureDependencies_v2(CUstream_st stream,
CUgraphNode_st dependencies,
cudaGraphEdgeData dependencyData,
long numDependencies) |
static int |
cudart.cudaStreamUpdateCaptureDependencies_v2(CUstream_st stream,
CUgraphNode_st dependencies,
cudaGraphEdgeData dependencyData,
long numDependencies,
int flags)
\brief Update the set of dependencies in a capturing stream (12.3+)
Modifies the dependency set of a capturing stream.
|
static int |
cudart.cudaStreamUpdateCaptureDependencies(CUstream_st stream,
CUgraphNode_st dependencies,
long numDependencies) |
static int |
cudart.cudaStreamUpdateCaptureDependencies(CUstream_st stream,
CUgraphNode_st dependencies,
long numDependencies,
int flags)
\brief Update the set of dependencies in a capturing stream (11.3+)
Modifies the dependency set of a capturing stream.
|
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.cuGraphBatchMemOpNodeGetParams(CUgraphNode_st hNode,
CUDA_BATCH_MEM_OP_NODE_PARAMS_v1 nodeParams_out)
\brief Returns a batch mem op node's parameters
Returns the parameters of batch mem op node \p hNode in \p nodeParams_out.
|
static int |
cudart.cuGraphBatchMemOpNodeSetParams(CUgraphNode_st hNode,
CUDA_BATCH_MEM_OP_NODE_PARAMS_v1 nodeParams)
\brief Sets a batch mem op node's parameters
Sets the parameters of batch mem op node \p hNode to \p nodeParams.
|
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.cuGraphEventRecordNodeGetEvent(CUgraphNode_st hNode,
CUevent_st event_out)
\brief Returns the event associated with an event record node
Returns the event of event record node \p hNode in \p event_out.
|
static int |
cudart.cuGraphEventRecordNodeSetEvent(CUgraphNode_st hNode,
CUevent_st event)
\brief Sets an event record node's event
Sets the event of event record node \p hNode to \p event.
|
static int |
cudart.cuGraphEventWaitNodeGetEvent(CUgraphNode_st hNode,
CUevent_st event_out)
\brief Returns the event associated with an event wait node
Returns the event of event wait node \p hNode in \p event_out.
|
static int |
cudart.cuGraphEventWaitNodeSetEvent(CUgraphNode_st hNode,
CUevent_st event)
\brief Sets an event wait node's event
Sets the event of event wait node \p hNode to \p event.
|
static int |
cudart.cuGraphExecBatchMemOpNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUDA_BATCH_MEM_OP_NODE_PARAMS_v1 nodeParams)
\brief Sets the parameters for a batch mem op node in the given graphExec
Sets the parameters of a batch mem op node in an executable graph \p hGraphExec.
|
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.cuGraphExecEventRecordNodeSetEvent(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUevent_st event)
\brief Sets the event for an event record node in the given graphExec
Sets the event of an event record node in an executable graph \p hGraphExec.
|
static int |
cudart.cuGraphExecEventWaitNodeSetEvent(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUevent_st event)
\brief Sets the event for an event wait node in the given graphExec
Sets the event of an event wait node in an executable graph \p hGraphExec.
|
static int |
cudart.cuGraphExecExternalSemaphoresSignalNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v1 nodeParams)
\brief Sets the parameters for an external semaphore signal node in the given graphExec
Sets the parameters of an external semaphore signal node in an executable graph \p hGraphExec.
|
static int |
cudart.cuGraphExecExternalSemaphoresWaitNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUDA_EXT_SEM_WAIT_NODE_PARAMS_v1 nodeParams)
\brief Sets the parameters for an external semaphore wait node in the given graphExec
Sets the parameters of an external semaphore wait node in an executable graph \p hGraphExec.
|
static int |
cudart.cuGraphExecHostNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUDA_HOST_NODE_PARAMS_v1 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_v2 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_v2 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_v1 memsetParams,
CUctx_st ctx)
\brief Sets the parameters for a memset node in the given graphExec.
|
static int |
cudart.cuGraphExecNodeSetParams(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
CUgraphNodeParams nodeParams)
\brief Update's a graph node's parameters in an instantiated graph
Sets the parameters of a node in an executable graph \p hGraphExec.
|
static int |
cudart.cuGraphExternalSemaphoresSignalNodeGetParams(CUgraphNode_st hNode,
CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v1 params_out)
\brief Returns an external semaphore signal node's parameters
Returns the parameters of an external semaphore signal node \p hNode in \p params_out.
|
static int |
cudart.cuGraphExternalSemaphoresSignalNodeSetParams(CUgraphNode_st hNode,
CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v1 nodeParams)
\brief Sets an external semaphore signal node's parameters
Sets the parameters of an external semaphore signal node \p hNode to \p nodeParams.
|
static int |
cudart.cuGraphExternalSemaphoresWaitNodeGetParams(CUgraphNode_st hNode,
CUDA_EXT_SEM_WAIT_NODE_PARAMS_v1 params_out)
\brief Returns an external semaphore wait node's parameters
Returns the parameters of an external semaphore wait node \p hNode in \p params_out.
|
static int |
cudart.cuGraphExternalSemaphoresWaitNodeSetParams(CUgraphNode_st hNode,
CUDA_EXT_SEM_WAIT_NODE_PARAMS_v1 nodeParams)
\brief Sets an external semaphore wait node's parameters
Sets the parameters of an external semaphore wait node \p hNode to \p nodeParams.
|
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.cuGraphHostNodeGetParams(CUgraphNode_st hNode,
CUDA_HOST_NODE_PARAMS_v1 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_v1 nodeParams)
\brief Sets a host node's parameters
Sets the parameters of host node \p hNode to \p nodeParams.
|
static int |
cudart.cuGraphKernelNodeCopyAttributes(CUgraphNode_st dst,
CUgraphNode_st src)
\brief Copies attributes from source node to destination node.
|
static int |
cudart.cuGraphKernelNodeGetAttribute(CUgraphNode_st hNode,
int attr,
CUlaunchAttributeValue value_out)
\brief Queries node attribute.
|
static int |
cudart.cuGraphKernelNodeGetParams(CUgraphNode_st hNode,
CUDA_KERNEL_NODE_PARAMS_v2 nodeParams)
\brief Returns a kernel node's parameters
Returns the parameters of kernel node \p hNode in \p nodeParams.
|
static int |
cudart.cuGraphKernelNodeSetAttribute(CUgraphNode_st hNode,
int attr,
CUlaunchAttributeValue value)
\brief Sets node attribute.
|
static int |
cudart.cuGraphKernelNodeSetParams(CUgraphNode_st hNode,
CUDA_KERNEL_NODE_PARAMS_v2 nodeParams)
\brief Sets a kernel node's parameters
Sets the parameters of kernel node \p hNode to \p nodeParams.
|
static int |
cudart.cuGraphMemAllocNodeGetParams(CUgraphNode_st hNode,
CUDA_MEM_ALLOC_NODE_PARAMS_v1 params_out)
\brief Returns a memory alloc node's parameters
Returns the parameters of a memory alloc node \p hNode in \p params_out.
|
static int |
cudart.cuGraphMemcpyNodeGetParams(CUgraphNode_st hNode,
CUDA_MEMCPY3D_v2 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_v2 nodeParams)
\brief Sets a memcpy node's parameters
Sets the parameters of memcpy node \p hNode to \p nodeParams.
|
static int |
cudart.cuGraphMemFreeNodeGetParams(CUgraphNode_st hNode,
long[] dptr_out) |
static int |
cudart.cuGraphMemFreeNodeGetParams(CUgraphNode_st hNode,
LongBuffer dptr_out) |
static int |
cudart.cuGraphMemFreeNodeGetParams(CUgraphNode_st hNode,
LongPointer dptr_out)
\brief Returns a memory free node's parameters
Returns the address of a memory free node \p hNode in \p dptr_out.
|
static int |
cudart.cuGraphMemsetNodeGetParams(CUgraphNode_st hNode,
CUDA_MEMSET_NODE_PARAMS_v1 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_v1 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_v2(CUgraphNode_st hNode,
CUgraphNode_st dependencies,
CUgraphEdgeData edgeData,
SizeTPointer numDependencies)
\brief Returns a node's dependencies (12.3+)
Returns a list of \p node's dependencies.
|
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_v2(CUgraphNode_st hNode,
CUgraphNode_st dependentNodes,
CUgraphEdgeData edgeData,
SizeTPointer numDependentNodes)
\brief Returns a node's dependent nodes (12.3+)
Returns a list of \p node's dependent nodes.
|
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.cuGraphNodeGetEnabled(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
int[] isEnabled) |
static int |
cudart.cuGraphNodeGetEnabled(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
IntBuffer isEnabled) |
static int |
cudart.cuGraphNodeGetEnabled(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
IntPointer isEnabled)
\brief Query whether a node in the given graphExec is enabled
Sets isEnabled to 1 if \p hNode is enabled, or 0 if \p hNode is disabled.
|
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.cuGraphNodeSetEnabled(CUgraphExec_st hGraphExec,
CUgraphNode_st hNode,
int isEnabled)
\brief Enables or disables the specified node in the given graphExec
Sets \p hNode to be either enabled or disabled.
|
static int |
cudart.cuGraphNodeSetParams(CUgraphNode_st hNode,
CUgraphNodeParams nodeParams)
\brief Update's a graph node's parameters
Sets the parameters of graph node \p hNode to \p nodeParams.
|
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.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.cuStreamUpdateCaptureDependencies_v2(CUstream_st hStream,
CUgraphNode_st dependencies,
CUgraphEdgeData dependencyData,
long numDependencies,
int flags)
\brief Update the set of dependencies in a capturing stream (12.3+)
Modifies the dependency set of a capturing stream.
|
static int |
cudart.cuStreamUpdateCaptureDependencies(CUstream_st hStream,
CUgraphNode_st dependencies,
long numDependencies,
int flags)
\brief Update the set of dependencies in a capturing stream (11.3+)
Modifies the dependency set of a capturing stream.
|
Copyright © 2024. All rights reserved.