Creates a default stream in the current process. It is a static object and does not support asynchronous calling. Before calling this API, initialize the device and call SetDevice to specify the device ID.
1 | static AscendStream &AscendStream::DefaultStream(); |
Data Structure |
Description |
|---|---|
AscendStream |
Returns the AscendStream class. |