onnxruntime
3dcda13e - [TensorRT EP] Fix concurrency issue for TRT custom op list (#20093)

Commit
2 years ago
[TensorRT EP] Fix concurrency issue for TRT custom op list (#20093) The `CreateTensorRTCustomOpDomainList()` is not thread-safe due to its static variables, `created_custom_op_list` and `custom_op_domain`. This PR makes sure synchronization using mutex. see issue: https://github.com/microsoft/onnxruntime/issues/20089
Author
Parents
Loading