cuda.bindings._v2.driver.array_get_descriptor_v2#

cuda.bindings._v2.driver.array_get_descriptor_v2(intptr_t h_array)#

Get a 1D or 2D CUDA array descriptor.

Returns in *p_array_descriptor a descriptor containing information on the format and dimensions of the CUDA array h_array. It is useful for subroutines that have been passed a CUDA array, but need to know the CUDA array parameters for validation or other purposes.

Parameters:

h_array (intptr_t) – Array to get descriptor of.

Returns:

Returned array descriptor.

Return type:

CUDA_ARRAY_DESCRIPTOR_v2

See also

cuArrayGetDescriptor_v2