From 8dca988214a2539235251b70d78a79c19f3f1492 Mon Sep 17 00:00:00 2001 From: Zhen Wang Date: Thu, 27 Oct 2022 15:38:09 +0800 Subject: [PATCH] Fix the symbol missing bug about cinn. (#47347) --- paddle/fluid/framework/paddle2cinn/build_cinn_pass.cc | 4 ++-- paddle/fluid/inference/paddle_inference_custom_device.map | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/framework/paddle2cinn/build_cinn_pass.cc b/paddle/fluid/framework/paddle2cinn/build_cinn_pass.cc index 77b7bd7e33..e97a56a743 100644 --- a/paddle/fluid/framework/paddle2cinn/build_cinn_pass.cc +++ b/paddle/fluid/framework/paddle2cinn/build_cinn_pass.cc @@ -646,8 +646,8 @@ void SearchAllSubgraphs(Graph* graph) { VLOG(4) << "The allowed Cinn Ops: " << FLAGS_allow_cinn_ops; VLOG(4) << "The denied Cinn Ops: " << FLAGS_deny_cinn_ops; std::vector clusters = CinnSubgraphDetector(graph, teller)(); - VLOG(3) << "--- [build_cinn_pass] detected " << clusters.size() - << " cinn supported subgraphs"; + LOG(INFO) << "--- [build_cinn_pass] detected " << clusters.size() + << " cinn supported subgraphs"; auto cluster_debug_info = [](const GraphNodeSet& cluster) { std::string res = "("; diff --git a/paddle/fluid/inference/paddle_inference_custom_device.map b/paddle/fluid/inference/paddle_inference_custom_device.map index d78860e0a2..391842a4c6 100644 --- a/paddle/fluid/inference/paddle_inference_custom_device.map +++ b/paddle/fluid/inference/paddle_inference_custom_device.map @@ -6,6 +6,7 @@ *phi*; *FLAGS_*; PD_*; + *cinn*; local: *; }; -- GitLab