code: public static int cuModuleGetSurfRef(CUsurfref pSurfRef, CUmodule hmod, String name)
      {
          return checkResult(cuModuleGetSurfRefNative(pSurfRef, hmod, name));
      }
docs: Returns a handle to a surface reference.
  
  <pre>
  CUresult cuModuleGetSurfRef (
  CUsurfref* pSurfRef,
  CUmodule hmod,
  const char* name )
  </pre>
  <div>
  <p>Returns a handle to a surface reference.
  Returns in <tt>*pSurfRef</tt> the handle of the surface reference of
  name <tt>name</tt> in the module <tt>hmod</tt>. If no surface
  reference of that name exists, cuModuleGetSurfRef() returns
  CUDA_ERROR_NOT_FOUND.
  </p>
  <div>
  <span>Note:</span>
  <p>Note that this
  function may also return error codes from previous, asynchronous
  launches.
  </p>
  </div>
  </p>
  </div>
  
  @param pSurfRef Returned surface reference
  @param hmod Module to retrieve surface reference from
  @param name Name of surface reference 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#cuModuleGetGlobal
  @see JCudaDriver#cuModuleGetTexRef
  @see JCudaDriver#cuModuleLoad
  @see JCudaDriver#cuModuleLoadData
  @see JCudaDriver#cuModuleLoadDataEx
  @see JCudaDriver#cuModuleLoadFatBinary
  @see JCudaDriver#cuModuleUnload