acIrtStreamStop
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Description
Stops tasks that are being executed in a specified stream, but does not clear the tasks.
This API only applies to the stream created by calling aclrtCreateStreamWithConfig with flag set to ACL_STREAM_DEVICE_USE_ONLY (creating a stream that can be invoked exclusively on the device).
Prototype
aclError aclrtStreamStop(aclrtStream stream)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
stream |
Input |
Stream with tasks to be stopped. Passing NULL is not supported. Otherwise, an error will be reported. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Stream Management