cudaError_t cudaGetChannelDesc ( struct cudaChannelFormatDesc desc,
const struct cudaArray *  array 

Returns in *desc the channel descriptor of the CUDA array array.

desc - Channel format
array - Memory array on device
cudaSuccess, cudaErrorInvalidValue
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaCreateChannelDesc (C API), cudaGetTextureReference, cudaBindTexture (C API), cudaBindTexture2D (C API), cudaBindTextureToArray (C API), cudaUnbindTexture (C API), cudaGetTextureAlignmentOffset (C API)

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA