Skip to content

Commit

Permalink
add is_compiled_with_xpu for unit test, test=kunlun
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghuancoder committed Oct 12, 2020
1 parent f33960d commit 805746a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/paddle/fluid/tests/unittests/test_load_op_xpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from op_test import OpTest, randomize_probability
import paddle.fluid as fluid
import paddle.fluid.layers as layers
import paddle


@unittest.skipIf(not paddle.is_compiled_with_xpu(),
Expand Down

1 comment on commit 805746a

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.