cuda.bindings._v2.driver.graph_add_memset_node#
- cuda.bindings._v2.driver.graph_add_memset_node(
- intptr_t h_graph,
- dependencies,
- memset_params,
- intptr_t ctx,
Creates a memset node and adds it to a graph.
Creates a new memset node and adds it to
h_graphwithlen(dependencies)dependencies specified viadependencies. 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. The element size must be 1, 2, or 4 bytes. When the graph is launched, the node will perform the memset described bymemset_params.- 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.See also
cuGraphAddMemsetNode