|
Product |
Supported (√/x) |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Destroys a context and cleans up the associated resources. Only the context created by calling acl.rt.create_context can be destroyed.
1
|
aclError aclrtDestroyContext(aclrtContext context) |
1
|
ret = acl.rt.destroy_context(context) |
|
Parameter |
Description |
|---|---|
|
context |
Int, pointer address of the context object to be destroyed. |
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code. 0 on success; else, failure. |
For details about the API call sequence and examples, see Runtime Resource Allocation and Deallocation and Synchronous Wait.