|
Product |
Supported (√/x) |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
x |
Deregisters the user-provided Allocator and its callback function, so that the Allocator cannot be used.
1
|
aclError aclrtAllocatorUnregister(aclrtStream stream) |
1
|
ret = acl.rt.allocator_unregister(stream) |
|
Parameter |
Description |
|---|---|
|
stream |
Int, stream corresponding to the Allocator. |
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code. 0 on success; else, failure. |
For details about the API call example, see Dynamic Shape Input (Setting the Shape Range).