Main Content
mxGPUIsSparse (C)
Determine if mxGPUArray contains sparse GPU data
C Syntax
#include "gpu/mxGPUArray.h" int mxGPUIsSparse(mxGPUArray const * mp);
Arguments
mp
Pointer to an
mxGPUArray
to be queried for sparse data.
Returns
Integer indicating true result:
1 indicates the input is a sparse gpuArray.
0 indicates the input is not a sparse gpuArray.
Version History
Introduced in R2015a