From 2bd89cdcc81df57ba8768ef1a5ed7495b0b71cc3 Mon Sep 17 00:00:00 2001 From: Justin Stoecker Date: Thu, 30 Jun 2022 23:53:07 -0700 Subject: [PATCH] disable cl reuse for xbox --- .../dml/DmlExecutionProvider/src/GraphDescBuilder.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.cpp b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.cpp index 9db9b1f93498c..e92369c3f10bf 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.cpp +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/GraphDescBuilder.cpp @@ -95,6 +95,11 @@ namespace Dml::GraphDescBuilder reuseCommandList = true; } +#ifdef _GAMING_XBOX + // #40265989 + reuseCommandList = false; +#endif + auto constantCpuGraphInputGetter = [&transferredInitializerMap](const std::string& argName) { ComPtr tensorWrapper;