Is there any function to test if a mxGPUArray is empty or not?

Risposte (1)

There isn't a directly equivalent method, but you can call
bool const isEmpty = (mxGPUGetNumberOfElements(myArray) == mwSize(0));

Categorie

Tag

Richiesto:

il 25 Set 2015

Risposto:

il 27 Set 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by