aclrtDeviceGetStreamPriorityRange
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Queries the minimum and maximum stream priorities supported by the hardware.
Prototype
aclError aclrtDeviceGetStreamPriorityRange(int32_t *leastPriority, int32_t *greatestPriority)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
leastPriority |
Output |
Low priority. |
greatestPriority |
Output |
Highest priority. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Device Management