From 9f87c5c41d50fdcf30ce439617c708c964d8a050 Mon Sep 17 00:00:00 2001 From: Jeff Bloomfield <38966965+jeffbloo@users.noreply.github.com> Date: Mon, 15 Jan 2024 17:10:58 -0800 Subject: [PATCH] Fix build error due to merge with DML adapter enumeration macro defined (#19121) ### Description Fix build error when ENABLE_NPU_ADAPTER_ENUMERATION is defined ### Motivation and Context --- onnxruntime/core/providers/dml/dml_provider_factory.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/onnxruntime/core/providers/dml/dml_provider_factory.cc b/onnxruntime/core/providers/dml/dml_provider_factory.cc index 73a068f3e1..b2688094a6 100644 --- a/onnxruntime/core/providers/dml/dml_provider_factory.cc +++ b/onnxruntime/core/providers/dml/dml_provider_factory.cc @@ -329,7 +329,6 @@ static std::optional ParseFilter(const ProviderOptions& prov static const std::string Any = "any"; static const std::string Gpu = "gpu"; #ifdef ENABLE_NPU_ADAPTER_ENUMERATION - static const std::string Any = "any"; static const std::string Npu = "npu"; #endif