User`s guide
11 Functions — Alphabetical List
11-198
mxGPUIsSame (C)
Determine if two mxGPUArrays refer to same GPU data
C Syntax
#include "gpu/mxGPUArray.h"
int mxGPUIsSame(mxGPUArray const * const mgp1,
mxGPUArray const * const mgp2)
Arguments
mgp1mgp2
Pointers to mxGPUArray.
Returns
int type.
Description
mxGPUIsSame returns an integer indicating if two mxGPUArray pointers refer to the
same GPU data:
• 1 (true) indicates that the inputs refer to the same data.
• 0 (false) indicates that the inputs do not refer to the same data.
See Also
mxGPUIsValidGPUData