From e3b0af43a05ac04159aa9d2d9777c0f5a2486d49 Mon Sep 17 00:00:00 2001 From: Yang Yu Date: Wed, 31 Jan 2018 14:42:20 +0800 Subject: [PATCH] Fix CI Error --- python/paddle/v2/fluid/tests/test_layer_norm_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/v2/fluid/tests/test_layer_norm_op.py b/python/paddle/v2/fluid/tests/test_layer_norm_op.py index 7d5dc7d1a6e..68cf8673cd4 100644 --- a/python/paddle/v2/fluid/tests/test_layer_norm_op.py +++ b/python/paddle/v2/fluid/tests/test_layer_norm_op.py @@ -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: -- GitLab