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_descriptora descriptor containing information on the format and dimensions of the CUDA arrayh_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:
See also
cuArrayGetDescriptor_v2