aclGetDataBufferSize (Deprecated)

This API will be deprecated in future releases. Use aclGetDataBufferSizeV2 instead.

Description

Obtains the memory size of data of the aclDataBuffer type, in bytes.

Prototype

uint32 aclGetDataBufferSize(const aclDataBuffer *dataBuffer)

Parameters

Parameter

Input/Output

Description

dataBuffer

Input

Pointer to data of the aclDataBuffer type.

Call aclCreateDataBuffer to create data of the aclDataBuffer type in advance.

Returns

Memory size of data of the aclDataBuffer type