From f9c801ffa6ac0a8a1a271c09b915d8603aba41ff Mon Sep 17 00:00:00 2001 From: weishengying <63448337+weishengying@users.noreply.github.com> Date: Wed, 8 Feb 2023 16:31:23 +0800 Subject: [PATCH] Export custom operator-related function symbols (#50238) --- paddle/fluid/inference/paddle_inference.map | 2 ++ paddle/fluid/inference/paddle_inference_custom_device.map | 2 ++ 2 files changed, 4 insertions(+) diff --git a/paddle/fluid/inference/paddle_inference.map b/paddle/fluid/inference/paddle_inference.map index 3d2dc85cb8..358ae9ad8e 100644 --- a/paddle/fluid/inference/paddle_inference.map +++ b/paddle/fluid/inference/paddle_inference.map @@ -38,6 +38,8 @@ *paddle::ResourceManager*; *paddle::GPUContextResource*; *paddle::CPUContextResource*; + *paddle::OpMetaInfoBuilder*; + *paddle::CustomOpKernelContext*; /* ut needs the following symbol, we need to modify all the ut to hidden such symbols */ diff --git a/paddle/fluid/inference/paddle_inference_custom_device.map b/paddle/fluid/inference/paddle_inference_custom_device.map index 7434678d86..5752a18422 100644 --- a/paddle/fluid/inference/paddle_inference_custom_device.map +++ b/paddle/fluid/inference/paddle_inference_custom_device.map @@ -38,6 +38,8 @@ *paddle::ResourceManager*; *paddle::GPUContextResource*; *paddle::CPUContextResource*; + *paddle::OpMetaInfoBuilder*; + *paddle::CustomOpKernelContext*; /* ut needs the following symbol, we need to modify all the ut to hidden such symbols */ -- GitLab