Main Content

mxGPUGetDimensions (C)

mxGPUArray dimensions

C Syntax

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

Arguments

mgp

Pointer to an mxGPUArray.

Returns

Pointer to a read-only array of mwSize type.

Description

mxGPUGetDimensions returns a pointer to an array of mwSize indicating the dimensions of the input argument. Use mxFree to delete the output.

Version History

Introduced in R2013a