Environment:
- Windows Operating System
- TensorRT Version: TensorRT-10.9.0.34
- NVIDIA CUDA Version: 12.6
- cuDNN Version: 9.8
- **Rtx 3050ti laptop GPU
Issue Description:** I am encountering an “Access Violation Error” (0xC0000005) at nvinfer_10.dll
during the execution of the following line of code:
nvinfer1::IExecutionContext* context = engine->createExecutionContext();
All Code :
nvinfer1::ICudaEngine* engine = loadEngine(engineFilePath);
if (engine) {
cout << “OK” << endl;
}
else {
cerr << “Error!” << endl;
return -1;
}nvinfer1::IExecutionContext* context = engine->createExecutionContext();