Function: unuse_stream_res_in_current_thread
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Cancels the restriction on the use of device resources on a specified stream in the current thread.
Prototype
- C Prototype
aclError aclrtUnuseStreamResInCurrentThread(aclrtStream stream)
- Python Function
1ret = acl.rt.unuse_stream_res_in_current_thread(stream)
Parameters
Parameter |
Description |
|---|---|
stream |
Int, specified stream. If 0 is passed, it indicates the default stream. |
Return Value
Return Value |
Description |
|---|---|
ret |
Int, 0 on success; else, failure. |
Parent topic: Runtime Configuration