Function rcudnn::cudaGetChannelDesc [−][src]
pub unsafe extern "C" fn cudaGetChannelDesc(
desc: *mut cudaChannelFormatDesc,
array: *const cudaArray
) -> cudaError
Expand description
\brief Get the channel descriptor of an array
Returns in \p *desc the channel descriptor of the CUDA array \p array.
\param desc - Channel format \param array - Memory array on device
\return ::cudaSuccess, ::cudaErrorInvalidValue \notefnerr \note_init_rt \note_callback
\sa \ref ::cudaCreateChannelDesc(int, int, int, int, cudaChannelFormatKind) “cudaCreateChannelDesc (C API)”, ::cudaCreateTextureObject, ::cudaCreateSurfaceObject