提交 a22606ca 编写于 作者: Q qijun

fix bug

上级 f314330c
......@@ -256,7 +256,7 @@ class OpTest(unittest.TestCase):
]
places = [core.CPUPlace()]
if core.is_compile_gpu() and op.support_gpu():
if core.is_compile_gpu() and self.op.support_gpu():
places.append(core.GPUPlace(0))
for place in places:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册