code: public static int cuGraphNodeGetDependencies(CUgraphNode hNode, CUgraphNode dependencies[], long numDependencies[]) 
      {
          return checkResult(cuGraphNodeGetDependenciesNative(hNode, dependencies, numDependencies));
      }
docs: Returns a node's dependencies.<br>
  <br>
  Returns a list of \p node's dependencies. \p dependencies may be NULL, in which case this
  function will return the number of dependencies in \p numDependencies. Otherwise,
  \p numDependencies entries will be filled in. If \p numDependencies is higher than the actual
  number of dependencies, the remaining entries in \p dependencies will be set to NULL, and the
  number of nodes actually obtained will be returned in \p numDependencies.
  
  @param hNode           - Node to query
  @param dependencies    - Pointer to return the dependencies
  @param numDependencies - See description
  
  @return
  CUDA_SUCCESS,
  CUDA_ERROR_DEINITIALIZED,
  CUDA_ERROR_NOT_INITIALIZED,
  CUDA_ERROR_INVALID_VALUE
  
  @see
  JCudaDriver#cuGraphNodeGetDependentNodes
  JCudaDriver#cuGraphGetNodes
  JCudaDriver#cuGraphGetRootNodes
  JCudaDriver#cuGraphGetEdges
  JCudaDriver#cuGraphAddDependencies
  JCudaDriver#cuGraphRemoveDependencies