在当前进程创建一个默认Stream,静态对象,不支持异步调用。使用前需初始化设备并调用SetDevice指定具体设备ID。
1
static AscendStream &AscendStream::DefaultStream();
数据结构
说明
AscendStream
返回AscendStream类。