Function: device_get_stream_priority_range
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Queries the minimum and maximum stream priorities supported by the hardware.
Prototype
- C Prototype
aclError aclrtDeviceGetStreamPriorityRange(int32_t *leastPriority, int32_t *greatestPriority)
- Python Function
1min, max, ret = acl.rt.device_get_stream_priority_range()
Parameters
None
Return Value
Return Value |
Description |
|---|---|
ret |
Int, error code. 0 on success; else, failure. |
max |
Int, maximum priority. |
min |
Int, minimum priority. |
Parent topic: Device Management