cuda.bindings._v2.driver.graph_add_batch_mem_op_node#
- cuda.bindings._v2.driver.graph_add_batch_mem_op_node(
- intptr_t h_graph,
- dependencies,
- node_params,
Creates a batch memory operation node and adds it to a graph.
Creates a new batch memory operation node and adds it to
h_graphwithlen(dependencies)dependencies specified viadependenciesand arguments specified innode_params. It is possible forlen(dependencies)to be 0, in which case the node will be placed at the root of the graph.dependenciesmay not have any duplicate entries. A handle to the new node will be returned inph_graph_node. When the node is added, the paramArray insidenode_paramsis copied and therefore it can be freed after the call returns.- Parameters:
- Returns:
Returns newly created node.
- Return type:
intptr_t
Note
This function will be deprecated in a future CUDA release. Please migrate to
cuGraphAddNode.Note
Warning: Improper use of this API may deadlock the application. Synchronization ordering established through this API is not visible to CUDA. CUDA tasks that are (even indirectly) ordered by this API should also have that order expressed with CUDA-visible dependencies such as events. This ensures that the scheduler does not serialize them in an improper order.
See also
cuGraphAddBatchMemOpNode