nvidia - TensorRT Access Violation Error (0xC0000005) at nvinfer_10.dll - How to Resolve? - Stack Overflow

Environment:OS: Windows Operating SystemTensorRT Version: TensorRT-10.3.0.26NVIDIA CUDA Version: 12.6

Environment:

  • OS: Windows Operating System
  • TensorRT Version: TensorRT-10.3.0.26
  • NVIDIA CUDA Version: 12.6
  • cuDNN Version: 9.8
  • GPU: 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();

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744349861a4569909.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信