Function rcudnn::cudaArrayGetInfo[][src]

pub unsafe extern "C" fn cudaArrayGetInfo(
    desc: *mut cudaChannelFormatDesc,
    extent: *mut cudaExtent,
    flags: *mut u32,
    array: *mut cudaArray
) -> cudaError
Expand description

\brief Gets info about the specified cudaArray

Returns in \p *desc, \p *extent and \p *flags respectively, the type, shape and flags of \p array.

Any of \p *desc, \p *extent and \p *flags may be specified as NULL.

\param desc - Returned array type \param extent - Returned array shape. 2D arrays will have depth of zero \param flags - Returned array flags \param array - The ::cudaArray to get info for

\return ::cudaSuccess, ::cudaErrorInvalidValue \notefnerr \note_init_rt \note_callback

\sa ::cuArrayGetDescriptor, ::cuArray3DGetDescriptor