取消注册用户提供的Allocator以及Allocator对应的回调函数,用于取消使用用户提供的Allocator。
Atlas 200/300/500 推理产品,不支持该接口。
aclError aclrtAllocatorUnregister(aclrtStream stream)
参数名 |
输入/输出 |
说明 |
---|---|---|
stream |
输入 |
该Allocator需要注册的stream。 |
返回0表示成功,返回其它值表示失败。