提交 36d6e446 编写于 作者: J JiabinYang

fix test_py_reader_using_executor error

上级 08cfe27c
......@@ -96,7 +96,8 @@ class TestPyReaderUsingExecutor(unittest.TestCase):
self.queue_capacity = 50
def test(self):
for use_cuda in [False, True]:
for use_cuda in ([False, True]
if core.core.is_compiled_with_cuda() else [False]):
for use_parallel_executor in [False, True]:
for use_double_buffer in [False, True]:
print('Test Parameters:'),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册