This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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)


mgp1, mgp2

Pointers to mxGPUArray.


int type.


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.

Introduced in R2013a