code: public static int cudaBindTextureToMipmappedArray(textureReference texref, cudaMipmappedArray mipmappedArray, cudaChannelFormatDesc desc)
      {
          return checkResult(cudaBindTextureToMipmappedArrayNative(texref, mipmappedArray, desc));
      }
docs: [C++ API] Binds a mipmapped array to a texture
  
  <pre>
  template < class T, int dim, enum cudaTextureReadMode readMode >
  cudaError_t cudaBindTextureToMipmappedArray (
  const texture < T,
  dim,
  readMode > & tex,
  cudaMipmappedArray_const_t mipmappedArray,
  const cudaChannelFormatDesc& desc ) [inline]
  </pre>
  <div>
  <p>[C++ API] Binds a mipmapped array to a
  texture  Binds the CUDA mipmapped array <tt>mipmappedArray</tt> to
  the texture reference <tt>tex</tt>. <tt>desc</tt> describes how the
  memory is interpreted when fetching values from the texture. Any CUDA
  mipmapped array previously bound
  to <tt>tex</tt> is unbound.
  </p>
  <div>
  <span>Note:</span>
  <p>Note that this
  function may also return error codes from previous, asynchronous
  launches.
  </p>
  </div>
  </p>
  </div>
  
  @param texref Texture to bind
  @param mipmappedArray Memory mipmapped array on device
  @param desc Channel format
  @param tex Texture to bind
  @param mipmappedArray Memory mipmapped array on device
  @param tex Texture to bind
  @param mipmappedArray Memory mipmapped array on device
  @param desc Channel format
  
  @return cudaSuccess, cudaErrorInvalidValue, cudaErrorInvalidDevicePointer,
  cudaErrorInvalidTexture
  
  @see JCuda#cudaCreateChannelDesc
  @see JCuda#cudaGetChannelDesc
  @see JCuda#cudaGetTextureReference
  @see JCuda#cudaBindTexture
  @see JCuda#cudaBindTexture
  
  @see JCuda#cudaBindTexture2D
  @see JCuda#cudaBindTexture2D
  
  @see JCuda#cudaBindTextureToArray
  @see JCuda#cudaBindTextureToArray
  
  @see JCuda#cudaUnbindTexture
  @see JCuda#cudaGetTextureAlignmentOffset