Function: get_data_buffer_size_v2
C Prototype |
size_t aclGetDataBufferSizeV2(const aclDataBuffer *dataBuffer) |
|---|---|
Python Function |
size = acl.get_data_buffer_size_v2(data_buffer) |
Function Usage |
Obtains the memory size of data of the aclDataBuffer type, in bytes. |
Input Description |
data_buffer: int, pointer address of aclDataBuffer. Call acl.create_data_buffer to create data of the aclDataBuffer type in advance. |
Return Value |
size: int, memory size of data of the aclDataBuffer type. |
Restrictions |
None |
Parent topic: Common APIs