函数:get_data_buffer_size
产品支持情况
产品 |
是否支持 |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
函数原型
- C函数原型
1size_t aclGetDataBufferSize(const aclDataBuffer *dataBuffer)
- python函数
1size = acl.get_data_buffer_size(data_buffer)
参数说明
参数名 |
说明 |
|---|---|
data_buffer |
int,aclDataBuffer的指针地址。 需提前调用acl.create_data_buffer接口创建aclDataBuffer类型的数据。 |
返回值说明
返回值 |
说明 |
|---|---|
size |
int,aclDataBuffer类型中数据的内存大小。 |
父主题: aclmdlDataBuffer