cuda.bindings._v2.driver.mipmapped_array_get_level#

cuda.bindings._v2.driver.mipmapped_array_get_level(
intptr_t h_mipmapped_array,
unsigned int level,
) → intptr_t#

Gets a mipmap level of a CUDA mipmapped array.

Returns in *p_level_array a CUDA array that represents a single mipmap level of the CUDA mipmapped array h_mipmapped_array. If level is greater than the maximum number of levels in this mipmapped array, CUDA_ERROR_INVALID_VALUE is returned.

Parameters:
  • h_mipmapped_array (intptr_t) – CUDA mipmapped array.

  • level (unsigned int) – Mipmap level.

Returns:

Returned mipmap level CUDA array.

Return type:

intptr_t

See also

cuMipmappedArrayGetLevel