mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Update DirectML 1.4.1 to 1.4.2 for ORT 1.7 (#6780)
Co-authored-by: Ori Levari <orlevari@microsoft.com>
This commit is contained in:
parent
09a5d6a9dc
commit
b8b41e3775
3 changed files with 3 additions and 3 deletions
2
cmake/external/dml.cmake
vendored
2
cmake/external/dml.cmake
vendored
|
|
@ -20,7 +20,7 @@ if (NOT onnxruntime_USE_CUSTOM_DIRECTML)
|
|||
set(NUGET_CONFIG ${PROJECT_SOURCE_DIR}/../NuGet.config)
|
||||
set(PACKAGES_CONFIG ${PROJECT_SOURCE_DIR}/../packages.config)
|
||||
get_filename_component(PACKAGES_DIR ${CMAKE_CURRENT_BINARY_DIR}/../packages ABSOLUTE)
|
||||
set(DML_PACKAGE_DIR ${PACKAGES_DIR}/Microsoft.AI.DirectML.1.4.1)
|
||||
set(DML_PACKAGE_DIR ${PACKAGES_DIR}/Microsoft.AI.DirectML.1.4.2)
|
||||
set(DML_SHARED_LIB DirectML.dll)
|
||||
|
||||
# Restore nuget packages, which will pull down the DirectML redist package
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="GoogleTestAdapter" version="0.17.1" targetFramework="net46" />
|
||||
<package id="Microsoft.AI.DirectML" version="1.4.1" targetFramework="native" />
|
||||
<package id="Microsoft.AI.DirectML" version="1.4.2" targetFramework="native" />
|
||||
<package id="Microsoft.Windows.CppWinRT" version="2.0.201113.7" targetFramework="native" />
|
||||
</packages>
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ def generate_repo_url(list, repo_url, commit_id):
|
|||
|
||||
|
||||
def generate_dependencies(list, package_name, version):
|
||||
dml_dependency = '<dependency id="Microsoft.AI.DirectML" version="1.4.1"/>'
|
||||
dml_dependency = '<dependency id="Microsoft.AI.DirectML" version="1.4.2"/>'
|
||||
|
||||
if (package_name == 'Microsoft.AI.MachineLearning'):
|
||||
list.append('<dependencies>')
|
||||
|
|
|
|||
Loading…
Reference in a new issue