cuda.bindings._v2.driver.mipmapped_array_get_memory_requirements#
- cuda.bindings._v2.driver.mipmapped_array_get_memory_requirements(intptr_t mipmap, int device)#
Returns the memory requirements of a CUDA mipmapped array.
Returns the memory requirements of a CUDA mipmapped array in
memory_requirementsIf the CUDA mipmapped array is not allocated with flagCUDA_ARRAY3D_DEFERRED_MAPPINGCUDA_ERROR_INVALID_VALUEwill be returned. The returned value inCUDA_ARRAY_MEMORY_REQUIREMENTS.sizerepresents the total size of the CUDA mipmapped array. The returned value inCUDA_ARRAY_MEMORY_REQUIREMENTS.alignmentrepresents the alignment necessary for mapping the CUDA mipmapped array.- Parameters:
mipmap (intptr_t) – CUDA mipmapped array to get the memory requirements of.
device (int) – Device to get the memory requirements for.
- Returns:
- Pointer to
CUDA_ARRAY_MEMORY_REQUIREMENTS.
- Return type:
See also
cuMipmappedArrayGetMemoryRequirements