code: public static int cuModuleGetGlobal(CUdeviceptr dptr, long bytes[], CUmodule hmod, String name)
      {
          return checkResult(cuModuleGetGlobalNative(dptr, bytes, hmod, name));
      }
docs: Returns a global pointer from a module.
  
  <pre>
  CUresult cuModuleGetGlobal (
  CUdeviceptr* dptr,
  size_t* bytes,
  CUmodule hmod,
  const char* name )
  </pre>
  <div>
  <p>Returns a global pointer from a module.
  Returns in <tt>*dptr</tt> and <tt>*bytes</tt> the base pointer and
  size of the global of name <tt>name</tt> located in module <tt>hmod</tt>. If no variable of that name exists, cuModuleGetGlobal()
  returns CUDA_ERROR_NOT_FOUND. Both parameters <tt>dptr</tt> and <tt>bytes</tt> are optional. If one of them is NULL, it is ignored.
  </p>
  <div>
  <span>Note:</span>
  <p>Note that this
  function may also return error codes from previous, asynchronous
  launches.
  </p>
  </div>
  </p>
  </div>
  
  @param dptr Returned global device pointer
  @param bytes Returned global size in bytes
  @param hmod Module to retrieve global from
  @param name Name of global to retrieve
  
  @return CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED,
  CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE,
  CUDA_ERROR_NOT_FOUND
  
  @see JCudaDriver#cuModuleGetFunction
  @see JCudaDriver#cuModuleGetTexRef
  @see JCudaDriver#cuModuleLoad
  @see JCudaDriver#cuModuleLoadData
  @see JCudaDriver#cuModuleLoadDataEx
  @see JCudaDriver#cuModuleLoadFatBinary
  @see JCudaDriver#cuModuleUnload