aclrtAllocatorUnregister

函数功能

取消注册用户提供的Allocator以及Allocator对应的回调函数,用于取消使用用户提供的Allocator。

Atlas 200/300/500 推理产品,不支持该接口。

约束说明

函数原型

aclError aclrtAllocatorUnregister(aclrtStream stream)

参数说明

参数名

输入/输出

说明

stream

输入

该Allocator需要注册的stream。

返回值说明

返回0表示成功,返回其它值表示失败。