code: @Deprecated
      public static int cuParamSetTexRef(CUfunction hfunc, int texunit, CUtexref hTexRef)
      {
          return checkResult(cuParamSetTexRefNative(hfunc, texunit, hTexRef));
      }
docs: Adds a texture-reference to the function's argument list.
  
  <pre>
  CUresult cuParamSetTexRef (
  CUfunction hfunc,
  int  texunit,
  CUtexref hTexRef )
  </pre>
  <div>
  <p>Adds a texture-reference to the function's
  argument list.
  Deprecated Makes the CUDA array or linear
  memory bound to the texture reference <tt>hTexRef</tt> available to a
  device program as a texture. In this version of CUDA, the
  texture-reference must be obtained via cuModuleGetTexRef() and the <tt>texunit</tt> parameter must be set to CU_PARAM_TR_DEFAULT.
  </p>
  <div>
  <span>Note:</span>
  <p>Note that this
  function may also return error codes from previous, asynchronous
  launches.
  </p>
  </div>
  </p>
  </div>
  
  @param hfunc Kernel to add texture-reference to
  @param texunit Texture unit (must be CU_PARAM_TR_DEFAULT)
  @param hTexRef Texture-reference to add to argument list
  
  @return CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED,
  CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE
  
  @deprecated Deprecated in CUDA