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.