From 3e8768d1b8f26d01b7d375d8872c3b3f0792f143 Mon Sep 17 00:00:00 2001 From: Jeff Bloomfield Date: Mon, 13 Jan 2020 17:58:02 -0800 Subject: [PATCH] Merge fixes --- .../dml/DmlExecutionProvider/src/ExecutionProvider.h | 2 +- .../providers/dml/DmlExecutionProvider/src/GraphDescBuilder.h | 2 +- .../providers/dml/DmlExecutionProvider/src/GraphPartitioner.h | 4 ++-- .../dml/OperatorAuthorHelper/SchemaInferenceOverrider.h | 2 +- winml/adapter/AbiCustomRegistryImpl.cpp | 4 +++- winml/adapter/AbiCustomRegistryImpl.h | 1 + 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/ExecutionProvider.h b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/ExecutionProvider.h index 52986d1faa..4c14420441 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/ExecutionProvider.h +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/ExecutionProvider.h @@ -170,7 +170,7 @@ namespace Dml std::shared_ptr m_cpuInputAllocator; std::shared_ptr m_cpuOutputAllocator; std::shared_ptr m_kernelRegistry; - std::shared_ptr m_internalRegInfoMap; + std::shared_ptr m_internalRegInfoMap; mutable uint64_t m_partitionKernelPrefixVal = 0; bool m_closed = false; diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.h b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.h index 9d58622657..02319daab0 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.h +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.h @@ -9,7 +9,7 @@ namespace Dml { struct GraphNodeProperties { - std::shared_ptr + std::shared_ptr internalRegInfo; // These are currently passed from the partitioning step since the only DML operators current diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphPartitioner.h b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphPartitioner.h index 2227a2e67b..cba44ccb6f 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphPartitioner.h +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphPartitioner.h @@ -43,7 +43,7 @@ namespace Dml std::vector> BuildPartitions( const onnxruntime::GraphViewer& graph, - const winrt::Windows::AI::MachineLearning::implementation::InternalRegistrationInfoMap& internalRegInfoMap, + const Windows::AI::MachineLearning::Adapter::InternalRegistrationInfoMap& internalRegInfoMap, const std::vector& registries, uint32_t supportedDeviceDataTypeMask, // Each bit corresponds to each DML_TENSOR_DATA_TYPE. std::unordered_map& graphNodePropertyMap, @@ -53,7 +53,7 @@ namespace Dml std::vector> PartitionGraph( const onnxruntime::GraphViewer& graph, - const winrt::Windows::AI::MachineLearning::implementation::InternalRegistrationInfoMap& internalRegInfoMap, + const Windows::AI::MachineLearning::Adapter::InternalRegistrationInfoMap& internalRegInfoMap, const std::vector& registries, uint32_t supportedDeviceDataTypeMask, // Each bit corresponds to each DML_TENSOR_DATA_TYPE. onnxruntime::KernelRegistry* registryForPartitionKernels, diff --git a/onnxruntime/core/providers/dml/OperatorAuthorHelper/SchemaInferenceOverrider.h b/onnxruntime/core/providers/dml/OperatorAuthorHelper/SchemaInferenceOverrider.h index 19fc628024..62e8c30cd1 100644 --- a/onnxruntime/core/providers/dml/OperatorAuthorHelper/SchemaInferenceOverrider.h +++ b/onnxruntime/core/providers/dml/OperatorAuthorHelper/SchemaInferenceOverrider.h @@ -80,7 +80,7 @@ OverrideSchemaInferenceFunction