提交 e9e5de53 编写于 作者: G gukecai

fix stream bug for memreuse

上级 7b65c548
......@@ -1106,7 +1106,7 @@ StreamActiveKind AscendStreamAssign::GetStreamActiveKind(const NotNull<KernelGra
uint32_t pre_stream_id = UINT32_MAX;
uint32_t next_stream_id = UINT32_MAX;
int32_t start = SizeToInt(index);
int32_t start = SizeToInt(index) - 1;
for (int32_t i = start; i >= 0; i--) {
auto cnode = exe_orders[IntToSize(i)];
auto name = AnfAlgo::GetCNodeName(cnode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册