Class Description
This class is used for asynchronous process control.
For details, see Asynchronous Invocation.
Supported Models
Atlas inference product
Atlas 800I A2 inference product
- For the Atlas inference product, a maximum of 1020 streams can be created for the same device (deviceId). For details, see CANN Application Development Guide (C&C++).
- For the
Atlas 200I/500 A2 inference product , a maximum of 256 streams be created for the same device (deviceId). - For the Atlas 800I A2 inference product, a maximum of 1024 streams be created for the same device (deviceId).
- AscendStream needs to explicitly call the DestroyAscendStream() API to destroy resources. Resource leakage may occur in the rvalue scenario because DestroyAscendStream() is not called. Exercise caution when using the API in such a scenario.
- Do not use assignment operators.
Parent topic: AscendStream