Skip to content

Commit 9f87c5c

Browse files
authored
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 <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
1 parent 1150b1f commit 9f87c5c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

onnxruntime/core/providers/dml/dml_provider_factory.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ static std::optional<OrtDmlDeviceFilter> ParseFilter(const ProviderOptions& prov
329329
static const std::string Any = "any";
330330
static const std::string Gpu = "gpu";
331331
#ifdef ENABLE_NPU_ADAPTER_ENUMERATION
332-
static const std::string Any = "any";
333332
static const std::string Npu = "npu";
334333
#endif
335334

0 commit comments

Comments
 (0)