Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Obtains the number of available streams on the current device.
1 | aclError aclrtGetStreamAvailableNum(uint32_t *streamCount) |
1 | stream_count, ret = acl.rt.get_stream_available_num() |
None
Return Value |
Description |
|---|---|
stream_count |
Int, number of available streams. |
ret |
Int, 0 on success; else, failure. |