Function: get_data_buffer_size
This API will be deprecated in future releases. Use acl.get_data_buffer_size_v2 instead.
C Prototype |
size_t aclGetDataBufferSize(const aclDataBuffer *dataBuffer) |
|---|---|
Python Function |
size = acl.get_data_buffer_size(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