cudaError_t cudaArrayGetInfo ( struct cudaChannelFormatDesc desc,
struct cudaExtent extent,
unsigned int *  flags,
struct cudaArray *  array 
)

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

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

Parameters:
desc - Returned array type
extent - Returned array shape. 2D arrays will have depth of zero
flags - Returned array flags
array - The cudaArray to get info for
Returns:
cudaSuccess, cudaErrorInvalidValue
Note:
Note that this function may also return error codes from previous, asynchronous launches.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA