Main Content

mxGPUGetNumberOfDimensions (C)

Size of dimension array for mxGPUArray

C Syntax

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

Arguments

mgp

Pointer to an mxGPUArray.

Returns

mwSize type.

Description

mxGPUGetNumberOfDimensions returns the size of the dimension array for the mxGPUArray input argument, indicating the number of its dimensions.

Introduced in R2013a