1// Auto-generated, do not edit.
2
3extern "C" {
4
5void* createInferBuilder_INTERNAL(void* logger, int version) {
6  using FuncPtr = void * (*)(void *, int);
7  static auto func_ptr = LoadSymbol<FuncPtr>("createInferBuilder_INTERNAL");
8  if (!func_ptr) LogFatalSymbolNotFound("createInferBuilder_INTERNAL");
9  return func_ptr(logger, version);
10}
11
12void* createInferRefitter_INTERNAL(void* engine, void* logger, int version) {
13  using FuncPtr = void * (*)(void *, void *, int);
14  static auto func_ptr = LoadSymbol<FuncPtr>("createInferRefitter_INTERNAL");
15  if (!func_ptr) LogFatalSymbolNotFound("createInferRefitter_INTERNAL");
16  return func_ptr(engine, logger, version);
17}
18
19void* createInferRuntime_INTERNAL(void* logger, int version) {
20  using FuncPtr = void * (*)(void *, int);
21  static auto func_ptr = LoadSymbol<FuncPtr>("createInferRuntime_INTERNAL");
22  if (!func_ptr) LogFatalSymbolNotFound("createInferRuntime_INTERNAL");
23  return func_ptr(logger, version);
24}
25
26nvinfer1::ILogger* getLogger() {
27  using FuncPtr = nvinfer1::ILogger * (*)();
28  static auto func_ptr = LoadSymbol<FuncPtr>("getLogger");
29  if (!func_ptr) LogFatalSymbolNotFound("getLogger");
30  return func_ptr();
31}
32
33int getInferLibVersion() {
34  using FuncPtr = int (*)();
35  static auto func_ptr = LoadSymbol<FuncPtr>("getInferLibVersion");
36  if (!func_ptr) LogFatalSymbolNotFound("getInferLibVersion");
37  return func_ptr();
38}
39
40nvinfer1::IPluginRegistry* getPluginRegistry() {
41  using FuncPtr = nvinfer1::IPluginRegistry * (*)();
42  static auto func_ptr = LoadSymbol<FuncPtr>("getPluginRegistry");
43  if (!func_ptr) LogFatalSymbolNotFound("getPluginRegistry");
44  return func_ptr();
45}
46
47}  // extern "C"
48