函数:allocator_create_desc
产品支持情况
产品 |
是否支持 |
---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
功能说明
创建aclrtAllocatorDesc类型的数据,表示Allocator描述信息,主要用于注册回调函数。
函数原型
- C函数原型
1
aclrtAllocatorDesc aclrtAllocatorCreateDesc()
- python函数
1
desc = acl.rt.allocator_create_desc()
参数说明
无
返回值说明
返回值 |
说明 |
---|---|
desc |
int。
|
父主题: aclrtAllocatorDesc