paddle_inference_custom_device.map 2.1 KB
Newer Older
1 2
{
	global:
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
		extern "C++" {
			*paddle_infer::GetVersion*;
			*paddle_infer::UpdateDllFlag*;
			*paddle_infer::experimental::InternalUtils*;
			*paddle_infer::Tensor*;
			*paddle_infer::Predictor*;
			*paddle_infer::CreatePredictor*;
			*paddle_infer::GetTrtCompileVersion*;
			*paddle_infer::GetTrtRuntimeVersion*;
			*paddle_infer::GetNumBytesOfDataType*;
			*paddle_infer::ConvertToMixedPrecision*;
			*paddle_infer::contrib::TensorUtils*;
			*paddle_infer::contrib::Status*;
			*paddle_infer::services::PredictorPool*;
			*paddle_infer::LayoutConvert*;

			*paddle::experimental*;
			*paddle::internal*;
			*paddle::get_version*;
			*paddle::LiteNNAdapterConfig*;
			*paddle::AnalysisConfig::*;
			*paddle::PaddlePredictor::*;
			*paddle::CreatePaddlePredictor*;
			*paddle::NativePaddlePredictor*;
			*paddle::AnalysisPredictor*;
			*paddle::PaddleDtypeSize*;
			*paddle::ZeroCopyTensor*;
			*paddle::*Strategy*;
			*paddle::NativeConfig*;
			*paddle::PaddleBuf*;
			*paddle::PaddleTensor*;
			*paddle::UpdateDllFlag*;
			*paddle::MakeCipher*;
			*paddle::DistConfig*;
			*paddle::DefaultGPUPlace*;
			*paddle::ResourceManager*;
			*paddle::GPUContextResource*;
			*paddle::CPUContextResource*;

			*paddle::LoadCustomOperatorLib*;
			*paddle::RegisterAllCustomOperator*;

			/* ut needs the following symbol, we need to modify all the ut to hidden such symbols */

			/* Another question: the ut size will grow from 50M to 80M, why? */

			*paddle::detail*;
			*paddle::imperative*;
			*paddle::detailv3*;
			*paddle::memory*;
			*paddle::string*;
			*paddle::operators*;

			*paddle::distributed*;
			/* *paddle::distributed::FleetWrapper*; */
			/* *paddle::distributed::TensorTable*;  */
			/* *paddle::distributed::TableManager*; */

			/* *paddle::inference*; */
			*paddle::inference::ReadBinaryFile*;

			*paddle::platform*;
			/* *paddle::platform::GetExportedFlagInfoMap*; */

			/* *paddle::framework*; */
			*paddle::framework::InterpreterCore*;
			*paddle::framework::Executor*;
		};

		/* The following symbols need to reconsider. */
73 74 75 76
		*Pass*;
		*profile*;
		*phi*;
		*FLAGS_*;
77
		PD_*;
78
		*cinn*;
79 80 81
	local:
		*;
};