Skip to content

Commit

Permalink
Fix build error due to merge with DML adapter enumeration macro defin…
Browse files Browse the repository at this point in the history
…ed (#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. -->
  • Loading branch information
jeffbloo authored Jan 16, 2024
1 parent 1150b1f commit 9f87c5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion onnxruntime/core/providers/dml/dml_provider_factory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ static std::optional<OrtDmlDeviceFilter> 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

Expand Down

0 comments on commit 9f87c5c

Please sign in to comment.