Merge pull request #8002 from reyoung/feature/fix_ci_error

Fix CI Error
emailweixu-patch-1
Yu Yang 7 years ago committed by GitHub
commit 94965806c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -228,7 +228,7 @@ class TestLayerNormdOp(OpTest):
place)
places = [core.CPUPlace()]
if core.is_compile_gpu() and core.op_support_gpu("layer_norm"):
if core.is_compiled_with_cuda() and core.op_support_gpu("layer_norm"):
places.append(core.CUDAPlace(0))
for place in places:

Loading…
Cancel
Save