cuda.bindings._v2.driver.array_3d_get_descriptor_v2#

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

Get a 3D 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. This function may be called on 1D and 2D arrays, in which case the Height and/or Depth members of the descriptor struct will be set to 0.

Parameters:

h_array (intptr_t) – 3D array to get descriptor of.

Returns:

Returned 3D array descriptor.

Return type:

CUDA_ARRAY3D_DESCRIPTOR_v2

See also

cuArray3DGetDescriptor_v2