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