diff --git a/paddle/gserver/tests/test_RecurrentLayer.cpp b/paddle/gserver/tests/test_RecurrentLayer.cpp index 1f31158579a2c9cef110de5f9979e3184e677161..44d84dd8be2f7c8e2fe0a4128016be09bcb1bdae 100644 --- a/paddle/gserver/tests/test_RecurrentLayer.cpp +++ b/paddle/gserver/tests/test_RecurrentLayer.cpp @@ -551,6 +551,8 @@ TEST(MKLPackedLayer, RecurrentLayer) { layerConfig2.set_type("mkl_packed_recurrent"); layerConfig2.set_active_type("relu"); + FLAGS_use_gpu = false; + for (auto layerSize : {32, 64, 128, 256, 512}) { for (auto batchSize : {1, 5, 100, 500}) { for (auto reversed : {true, false}) {