Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
After the device resource limits of a specified stream are set by calling acl.rt.set_stream_res_limit, you can call this API to reset the device resource limits of the specified stream to the default setting. You can call acl.rt.get_stream_res_limit to query the default resource limits.
aclError aclrtResetStreamResLimit(aclrtStream stream)
1 | ret = acl.rt.reset_stream_res_limit(stream) |
Parameter |
Description |
|---|---|
stream |
Int, specified stream. If 0 is passed, it indicates the default stream. |
Return Value |
Description |
|---|---|
ret |
Int, 0 on success; else, failure. |