aclrtStreamQuery
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Queries the execution status of all tasks on a specified stream.
Prototype
1 | aclError aclrtStreamQuery(aclrtStream stream, aclrtStreamStatus *status) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
stream |
Input |
Stream pointer. For the type definition, see aclrtStream. |
status |
Output |
Task status on a stream. For the type definition, see aclrtStreamStatus. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Stream Management