Skip to content

Commit

Permalink
Use Enum instead of Enum class
Browse files Browse the repository at this point in the history
  • Loading branch information
nums11 committed Sep 21, 2023
1 parent ff87aa2 commit 1acc7c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/onnxruntime/core/providers/dml/dml_provider_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ typedef struct IDMLDevice IDMLDevice;
extern "C" {
#endif

enum class OrtDmlPerformancePreference {
enum OrtDmlPerformancePreference {
Default = 0,
HighPerformance = 1,
LowPower = 2
};

enum class OrtDmlDeviceFilter {
enum OrtDmlDeviceFilter {
Gpu = 1,
Npu = 2,
Both = 3
Expand Down

0 comments on commit 1acc7c8

Please sign in to comment.