Determine if mxGPUArray contains sparse GPU data
#include "gpu/mxGPUArray.h" int mxGPUIsSparse(mxGPUArray const * mp);
mp
Pointer to an mxGPUArray
to
be queried for sparse data.
Integer indicating true result:
1 indicates the input is a sparse gpuArray.
0 indicates the input is not a sparse gpuArray.