未验证 提交 02afb925 编写于 作者: R Ruibiao Chen 提交者: GitHub

Reduce time cost for test_buffer_shared_memory_reuse_pass (#45619)

上级 ae217373
......@@ -103,7 +103,7 @@ class InplaceTestBase(unittest.TestCase):
compiled_programs.append(compiled_prog)
all_vars_name = self.get_all_vars(prog1)
repeated_var_names = all_vars_name * 2
repeated_var_names = all_vars_name
random.shuffle(repeated_var_names) # add some random
for fetch_var in repeated_var_names:
......@@ -155,7 +155,7 @@ class InplaceTestBase(unittest.TestCase):
places=places)
compiled_programs.append(compiled_program)
repeated_var_names = self.get_all_vars(prog1) * 2
repeated_var_names = self.get_all_vars(prog1)
random.shuffle(repeated_var_names) # add some random
for fetch_var in repeated_var_names:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册