diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphTransformer.cpp b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphTransformer.cpp index facac88985e20..2e04da843696e 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphTransformer.cpp +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphTransformer.cpp @@ -19,7 +19,7 @@ namespace Dml { GraphTransformer::GraphTransformer( const std::string& name, - const onnxruntime::IExecutionProvider* provider + const onnxruntime::IExecutionProvider* provider ) : onnxruntime::GraphTransformer(name), m_providerImpl(static_cast(provider)->GetImpl()) { diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphTransformer.h b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphTransformer.h index b4e2999ba925b..337c0df7ff521 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphTransformer.h +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphTransformer.h @@ -10,7 +10,7 @@ namespace Dml { - class ExecutionProviderImpl; + class ExecutionProviderImpl; // Applies transforms to a Lotus graph. The graph transformer is responsible for setting the execution provider // on the graph nodes which DML supports. @@ -19,7 +19,7 @@ namespace Dml public: GraphTransformer( const std::string& name, - const onnxruntime::IExecutionProvider* provider + const onnxruntime::IExecutionProvider* provider ); private: @@ -28,7 +28,7 @@ namespace Dml private: void PerformOperatorFusion(onnxruntime::Graph* graph, bool isMcdmDevice, bool* modified) const; - const ExecutionProviderImpl* m_providerImpl = nullptr; + const ExecutionProviderImpl* m_providerImpl = nullptr; }; } // namespace Dml