Skip to content

Commit a5a294e

Browse files
committed
remove onnxruntime namespace
1 parent c4437a2 commit a5a294e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

plugin_execution_providers/tensorrt/tensorrt_execution_provider.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ void CUDA_RETURN_IF_ERROR(cudaError_t res) {
3333
if (res != cudaSuccess) abort();
3434
}
3535

36-
//namespace onnxruntime {
37-
3836
static const std::string tensorrtEp = "tensorrtEp";
3937
const OrtApi& ort_api = Ort::GetApi();
4038

@@ -1692,5 +1690,3 @@ SubGraphCollection_t TensorrtExecutionProvider::GetSupportedList(SubGraphCollect
16921690
}
16931691
return nodes_list_output;
16941692
}
1695-
1696-
//} // namespace onnxruntime

plugin_execution_providers/tensorrt/tensorrt_execution_provider.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
#define EXPORT_API
2020
#endif
2121

22-
//namespace onnxruntime {
23-
2422
namespace tensorrt_env_vars {
2523
static const std::string kMaxPartitionIterations = "ORT_TENSORRT_MAX_PARTITION_ITERATIONS";
2624
static const std::string kMinSubgraphSize = "ORT_TENSORRT_MIN_SUBGRAPH_SIZE";
@@ -399,4 +397,3 @@ struct TensorrtExecutionProvider : OrtEp, ApiPtrs {
399397

400398
nvinfer1::IBuilder* GetBuilder(TensorrtLogger& trt_logger) const;
401399
};
402-
//} // namespace onnxruntime

0 commit comments

Comments
 (0)