From a1419f1062826167313e6ff68f894eb00fe1f34f Mon Sep 17 00:00:00 2001 From: tangwei12 Date: Fri, 11 May 2018 22:54:54 +0800 Subject: [PATCH] test add op declare --- paddle/fluid/operators/ckpt_save_op_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/fluid/operators/ckpt_save_op_test.cc b/paddle/fluid/operators/ckpt_save_op_test.cc index 3e620a0e9c..f8616ef53c 100644 --- a/paddle/fluid/operators/ckpt_save_op_test.cc +++ b/paddle/fluid/operators/ckpt_save_op_test.cc @@ -15,6 +15,8 @@ limitations under the License. */ #include "gtest/gtest.h" #include "paddle/fluid/framework/op_registry.h" +USE_NO_KERNEL_OP(ckpt_save) + TEST(CkptSaveOp, CPU) { paddle::framework::Scope scope; paddle::platform::CPUPlace place; -- GitLab