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_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. This function may be called on 1D and 2D arrays, in which case theHeightand/orDepthmembers 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:
See also
cuArray3DGetDescriptor_v2