未验证 提交 8e65ac5d 编写于 作者: J jiangcheng 提交者: GitHub

fix paddle with cinn cannot link relu op bug (#47793)

* fix paddle with cinn cannot link relu op bug

* change cmake activation_op to generator_op
上级 1e3245a8
...@@ -57,7 +57,8 @@ if(WITH_TESTING) ...@@ -57,7 +57,8 @@ if(WITH_TESTING)
op_registry op_registry
mul_op mul_op
activation_op activation_op
elementwise_add_op) elementwise_add_op
generated_op)
set_tests_properties(build_cinn_pass_test PROPERTIES LABELS "RUN_TYPE=CINN") set_tests_properties(build_cinn_pass_test PROPERTIES LABELS "RUN_TYPE=CINN")
cc_test_old(transform_desc_test SRCS transform_desc_test.cc DEPS cc_test_old(transform_desc_test SRCS transform_desc_test.cc DEPS
...@@ -86,6 +87,7 @@ if(WITH_TESTING) ...@@ -86,6 +87,7 @@ if(WITH_TESTING)
cinn cinn
mul_op mul_op
activation_op activation_op
elementwise_add_op) elementwise_add_op
generated_op)
set_tests_properties(cinn_compiler_test PROPERTIES LABELS "RUN_TYPE=CINN") set_tests_properties(cinn_compiler_test PROPERTIES LABELS "RUN_TYPE=CINN")
endif() endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册