Description
I have the following two lines of code in my dll, but found that when running to the second line, it blocks there forever and never returns,how can i fix this?
static std::unique_ptr<Logger> s_logger = std::make_unique<Logger>();
static std::unique_ptr<nvinfer1::IRuntime> s_runtime = std::unique_ptr<nvinfer1::IRuntime>(nvinfer1::createInferRuntime(*s_logger));
Environment
TensorRT Version: 8.4.3.1
GPU Type: dGPU
Nvidia Driver Version: 531
CUDA Version: 11.6
CUDNN Version: 8.4
Operating System + Version: windows10
Python Version (if applicable):
TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):
Relevant Files
Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)
Steps To Reproduce
Please include:
- Exact steps/commands to build your repro
- Exact steps/commands to run your repro
- Full traceback of errors encountered