UnregisterExternalAllocator
Header File/Library File
- Header file: #include <ge/ge_api.h>
- Library file: libge_runner.so
Function Usage
Destroys the allocator registered by the user based on the stream. This applies to the scenario where the user's memory pool is used.
Prototype
1 | Status UnregisterExternalAllocator(const void *const stream) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
stream |
Input |
Stream on which the allocator to be destroyed is located. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
SUCCESS: The setting is successful. FAILED: The setting fails. |
Parent topic: Session