User`s guide
mxGPUIsSparse (C)
11-199
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.
See Also
mxGPUIsValidGPUData | mxIsGPUArray