aclrtAllocatorCreateDesc
产品支持情况
产品 |
是否支持 |
|---|---|
Atlas 350 加速卡 |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
功能说明
创建aclrtAllocatorDesc类型的数据,表示Allocator描述信息,主要用于注册回调函数。
函数原型
1 | aclrtAllocatorDesc aclrtAllocatorCreateDesc() |
返回值说明
- 返回aclrtAllocatorDesc类型的指针,表示成功。
- 返回NULL,表示失败。
父主题: aclrtAllocatorDesc