Skip to main content

cudaGetMipmappedArrayLevel

Function cudaGetMipmappedArrayLevel 

Source
pub unsafe extern "C" fn cudaGetMipmappedArrayLevel(
    levelArray: *mut cudaArray_t,
    mipmappedArray: cudaMipmappedArray_const_t,
    level: c_uint,
) -> cudaError_t
Expand description

Gets a mipmap level of a CUDA mipmapped array.

Returns in *levelArray a CUDA array that represents a single mipmap level of the CUDA mipmapped array mipmappedArray.

If level is greater than the maximum number of levels in this mipmapped array, cudaErrorInvalidValue is returned.

If mipmappedArray is NULL, cudaErrorInvalidResourceHandle is returned.

ยงParameters

  • levelArray: Returned mipmap level CUDA array.
  • mipmappedArray: CUDA mipmapped array.
  • level: Mipmap level.