code: public static int cuModuleGetTexRef(CUtexref pTexRef, CUmodule hmod, String name)
      {
          return checkResult(cuModuleGetTexRefNative(pTexRef, hmod, name));
      }
docs: Returns a handle to a texture reference.
  
  <pre>
  CUresult cuModuleGetTexRef (
  CUtexref* pTexRef,
  CUmodule hmod,
  const char* name )
  </pre>
  <div>
  <p>Returns a handle to a texture reference.
  Returns in <tt>*pTexRef</tt> the handle of the texture reference of
  name <tt>name</tt> in the module <tt>hmod</tt>. If no texture
  reference of that name exists, cuModuleGetTexRef() returns
  CUDA_ERROR_NOT_FOUND. This texture reference handle should not be
  destroyed, since it will be destroyed when the module is unloaded.
  </p>
  <div>
  <span>Note:</span>
  <p>Note that this
  function may also return error codes from previous, asynchronous
  launches.
  </p>
  </div>
  </p>
  </div>
  
  @param pTexRef Returned texture reference
  @param hmod Module to retrieve texture reference from
  @param name Name of texture 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#cuModuleGetSurfRef
  @see JCudaDriver#cuModuleLoad
  @see JCudaDriver#cuModuleLoadData
  @see JCudaDriver#cuModuleLoadDataEx
  @see JCudaDriver#cuModuleLoadFatBinary
  @see JCudaDriver#cuModuleUnload