diff --git a/onnxruntime/core/providers/dml/dml_provider_factory.cc b/onnxruntime/core/providers/dml/dml_provider_factory.cc index c8891cb214..9af5fd42b0 100644 --- a/onnxruntime/core/providers/dml/dml_provider_factory.cc +++ b/onnxruntime/core/providers/dml/dml_provider_factory.cc @@ -159,7 +159,7 @@ std::shared_ptr DMLProviderFactoryCreator::Create(int ComPtr dml_device; ORT_THROW_IF_FAILED(DMLCreateDevice1(d3d12_device.Get(), flags, - DML_FEATURE_LEVEL_2_0, + DML_FEATURE_LEVEL_5_0, IID_PPV_ARGS(&dml_device))); return CreateExecutionProviderFactory_DML(dml_device.Get(), cmd_queue.Get());