From 86b9eb1840f30d77a8689f517a1c9ae4259ab96f Mon Sep 17 00:00:00 2001 From: jeff41404 Date: Thu, 24 Sep 2020 12:34:23 +0000 Subject: [PATCH] modify paddle/fluid/inference/tensorrt/plugin/trt_plugin.h getPluginRegistry() to GetPluginRegistry() --- paddle/fluid/inference/tensorrt/plugin/trt_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/inference/tensorrt/plugin/trt_plugin.h b/paddle/fluid/inference/tensorrt/plugin/trt_plugin.h index 0ad609be7d..0b7a5fe785 100644 --- a/paddle/fluid/inference/tensorrt/plugin/trt_plugin.h +++ b/paddle/fluid/inference/tensorrt/plugin/trt_plugin.h @@ -183,7 +183,7 @@ template class TrtPluginRegistrarV2 { public: TrtPluginRegistrarV2() { - static auto func_ptr = getPluginRegistry(); + static auto func_ptr = GetPluginRegistry(); if (func_ptr != nullptr) { func_ptr->registerCreator(creator, ""); } -- GitLab