Main Content

mxGPUGetNumberOfElements (C)

Number of elements on GPU for array

C Syntax

#include "gpu/mxGPUArray.h"
mwSize mxGPUGetNumberOfElements(mxGPUArray const * const mgp)

Arguments

mgp

Pointer to an mxGPUArray.

Returns

mwSize type.

Description

mxGPUGetNumberOfElements returns the total number of elements on the GPU for this array.

Version History

Introduced in R2013a