mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
[DML EP] Upgrade DML to 1.10.1 (#14433)
### Description Updated DirectML version to 1.10.1 (https://www.nuget.org/packages/Microsoft.AI.DirectML/1.10.1) ### 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. -->
This commit is contained in:
parent
3b8dfe2e27
commit
edb377f2cb
5 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="python" version="3.7.9" targetFramework="native" />
|
<package id="python" version="3.7.9" targetFramework="native" />
|
||||||
<package id="Microsoft.AI.DirectML" version="1.10.0" targetFramework="native" />
|
<package id="Microsoft.AI.DirectML" version="1.10.1" targetFramework="native" />
|
||||||
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
|
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
|
||||||
</packages>
|
</packages>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="pythonx86" version="3.7.9" targetFramework="native" />
|
<package id="pythonx86" version="3.7.9" targetFramework="native" />
|
||||||
<package id="Microsoft.AI.DirectML" version="1.10.0" targetFramework="native" />
|
<package id="Microsoft.AI.DirectML" version="1.10.1" targetFramework="native" />
|
||||||
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
|
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
|
||||||
</packages>
|
</packages>
|
||||||
|
|
|
||||||
2
cmake/external/dml.cmake
vendored
2
cmake/external/dml.cmake
vendored
|
|
@ -40,7 +40,7 @@ if (NOT onnxruntime_USE_CUSTOM_DIRECTML)
|
||||||
set(NUGET_CONFIG ${PROJECT_SOURCE_DIR}/../NuGet.config)
|
set(NUGET_CONFIG ${PROJECT_SOURCE_DIR}/../NuGet.config)
|
||||||
set(PACKAGES_CONFIG ${PROJECT_SOURCE_DIR}/../packages.config)
|
set(PACKAGES_CONFIG ${PROJECT_SOURCE_DIR}/../packages.config)
|
||||||
get_filename_component(PACKAGES_DIR ${CMAKE_CURRENT_BINARY_DIR}/../packages ABSOLUTE)
|
get_filename_component(PACKAGES_DIR ${CMAKE_CURRENT_BINARY_DIR}/../packages ABSOLUTE)
|
||||||
set(DML_PACKAGE_DIR ${PACKAGES_DIR}/Microsoft.AI.DirectML.1.10.0)
|
set(DML_PACKAGE_DIR ${PACKAGES_DIR}/Microsoft.AI.DirectML.1.10.1)
|
||||||
set(DML_SHARED_LIB DirectML.dll)
|
set(DML_SHARED_LIB DirectML.dll)
|
||||||
|
|
||||||
# Restore nuget packages, which will pull down the DirectML redist package.
|
# Restore nuget packages, which will pull down the DirectML redist package.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="GoogleTestAdapter" version="0.17.1" targetFramework="net46" />
|
<package id="GoogleTestAdapter" version="0.17.1" targetFramework="net46" />
|
||||||
<package id="Microsoft.AI.DirectML" version="1.10.0" targetFramework="native" />
|
<package id="Microsoft.AI.DirectML" version="1.10.1" targetFramework="native" />
|
||||||
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
|
<package id="Microsoft.Windows.CppWinRT" version="2.0.201201.7" targetFramework="native" />
|
||||||
</packages>
|
</packages>
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,7 @@ def generate_repo_url(line_list, repo_url, commit_id):
|
||||||
|
|
||||||
|
|
||||||
def generate_dependencies(xml_text, package_name, version):
|
def generate_dependencies(xml_text, package_name, version):
|
||||||
dml_dependency = '<dependency id="Microsoft.AI.DirectML" version="1.10.0"/>'
|
dml_dependency = '<dependency id="Microsoft.AI.DirectML" version="1.10.1"/>'
|
||||||
|
|
||||||
if package_name == "Microsoft.AI.MachineLearning":
|
if package_name == "Microsoft.AI.MachineLearning":
|
||||||
xml_text.append("<dependencies>")
|
xml_text.append("<dependencies>")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue