Skip to content

Commit

Permalink
[HIP] fix op not support AMD GPU bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xymyeah committed Sep 3, 2021
1 parent 2c56ee1 commit c0a90b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/fluid/tests/unittests/test_memcpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_pinned_copy_gpu(self):
self.assertTrue(np.allclose(gpu_, np.zeros((10, 10))))

def test_hip_copy_bool_value(self):
if core.is_compiled_with_cuda():
if core.is_compiled_with_rocm():
paddle.enable_static()
main_program = Program()
with program_guard(main_program):
Expand Down

0 comments on commit c0a90b6

Please sign in to comment.