From 68e17295e7a0d225e0503bea6095e514f4c8d309 Mon Sep 17 00:00:00 2001 From: Ori Levari Date: Mon, 16 Dec 2019 11:55:29 -0800 Subject: [PATCH] add comment for explaning private definition of dxcore d3d feature level ennum value. --- .../dml/DmlExecutionProvider/src/ExecutionProvider.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/ExecutionProvider.cpp b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/ExecutionProvider.cpp index 0e69da5b1364b..12a98bb949a35 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/ExecutionProvider.cpp +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/ExecutionProvider.cpp @@ -129,6 +129,10 @@ namespace Dml } } +// ORT release pipelines agent pools do not have 19H1 SDK installed which defines D3D_FEATURE_LEVEL_1_0_CORE. +// Once ORT/WinML github project can be built with VS2019, we can update these pools to use install the 19H1 SDK +// using the command line installer tool with VS2019 +// Task 24384515: Update ORT AIInfra release agent pool to install 19H1 SDK on VM bootstrap #define D3D_FEATURE_LEVEL_1_0_CORE_PRIVATE ((D3D_FEATURE_LEVEL)0x1000) ExecutionProviderImpl::ExecutionProviderImpl(IDMLDevice* dmlDevice, ID3D12Device* d3d12Device, ID3D12CommandQueue* queue, bool enableMetacommands)