code: public static int cuGraphAddMemsetNode(CUgraphNode phGraphNode, CUgraph hGraph, CUgraphNode dependencies[], long numDependencies, CUDA_MEMSET_NODE_PARAMS memsetParams, CUcontext ctx) 
      {
          return checkResult(cuGraphAddMemsetNodeNative(phGraphNode, hGraph, dependencies, numDependencies, memsetParams, ctx));
      }
docs: Creates a memset node and adds it to a graph.<br>
  <br>
  Creates a new memset node and adds it to \p hGraph with \p numDependencies
  dependencies specified via \p dependencies.
  It is possible for \p numDependencies to be 0, in which case the node will be placed
  at the root of the graph. \p dependencies may not have any duplicate entries.
  A handle to the new node will be returned in \p phGraphNode.<br>
  <br>
  The element size must be 1, 2, or 4 bytes.
  When the graph is launched, the node will perform the memset described by \p memsetParams.
  
  @param phGraphNode     - Returns newly created node
  @param hGraph          - Graph to which to add the node
  @param dependencies    - Dependencies of the node
  @param numDependencies - Number of dependencies
  @param memsetParams    - Parameters for the memory set
  @param ctx             - Context on which to run the node
  
  @return
  CUDA_SUCCESS,
  CUDA_ERROR_DEINITIALIZED,
  CUDA_ERROR_NOT_INITIALIZED,
  CUDA_ERROR_INVALID_VALUE,
  CUDA_ERROR_INVALID_CONTEXT
  
  @see
  JCudaDriver#cuMemsetD2D32
  JCudaDriver#cuGraphMemsetNodeGetParams
  JCudaDriver#cuGraphMemsetNodeSetParams
  JCudaDriver#cuGraphCreate
  JCudaDriver#cuGraphDestroyNode
  JCudaDriver#cuGraphAddChildGraphNode
  JCudaDriver#cuGraphAddEmptyNode
  JCudaDriver#cuGraphAddKernelNode
  JCudaDriver#cuGraphAddHostNode
  JCudaDriver#cuGraphAddMemcpyNode