aclGetDataBufferSizeV2

Description

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

Prototype

size_t aclGetDataBufferSizeV2(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