Package | Description |
---|---|
org.bytedeco.cuda.global |
Modifier and Type | Method and Description |
---|---|
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.cudaGraphExecDestroy(CUgraphExec_st graphExec)
\brief Destroys an executable graph
Destroys the executable graph specified by \p 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.cudaGraphExecGetFlags(CUgraphExec_st graphExec,
long[] flags) |
static int |
cudart.cudaGraphExecGetFlags(CUgraphExec_st graphExec,
LongBuffer flags) |
static int |
cudart.cudaGraphExecGetFlags(CUgraphExec_st graphExec,
LongPointer flags)
\brief Query the instantiation flags of an executable graph
Returns the flags that were passed to instantiation for the given executable 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.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.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.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.cudaGraphLaunch(CUgraphExec_st graphExec,
CUstream_st stream)
\brief Launches an executable graph in a stream
Executes \p graphExec in \p stream.
|
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.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.cudaGraphUpload(CUgraphExec_st graphExec,
CUstream_st stream)
\brief Uploads an executable graph in a stream
Uploads \p hGraphExec to the device in \p hStream without executing it.
|
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.cuGraphExecDestroy(CUgraphExec_st hGraphExec)
\brief Destroys an executable graph
Destroys the executable graph specified by \p hGraphExec, as well
as all of its executable nodes.
|
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.cuGraphExecGetFlags(CUgraphExec_st hGraphExec,
long[] flags) |
static int |
cudart.cuGraphExecGetFlags(CUgraphExec_st hGraphExec,
LongBuffer flags) |
static int |
cudart.cuGraphExecGetFlags(CUgraphExec_st hGraphExec,
LongPointer flags)
\brief Query the instantiation flags of an executable graph
Returns the flags that were passed to instantiation for the given executable graph.
|
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.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.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.cuGraphLaunch(CUgraphExec_st hGraphExec,
CUstream_st hStream)
\brief Launches an executable graph in a stream
Executes \p hGraphExec in \p hStream.
|
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.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.cuGraphUpload(CUgraphExec_st hGraphExec,
CUstream_st hStream)
\brief Uploads an executable graph in a stream
Uploads \p hGraphExec to the device in \p hStream without executing it.
|
Copyright © 2024. All rights reserved.