mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-03 23:49:44 +00:00
[QNN EP] Update to QNN SDK 2.9.0 (#15709)
### Description - Update to QNN SDK 2.9.0 for QNN pipelines - Temporarily disable warnings as errors for QNN Windows x64 pipeline - Note that this pipeline did not previously run to completion. It also currently does not run for pull requests. ### Motivation and Context Need to update and test the latest available version of the QNN SDK.
This commit is contained in:
parent
9773e76c44
commit
be5c582e65
4 changed files with 18 additions and 17 deletions
|
|
@ -3,10 +3,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK version
|
||||
type: string
|
||||
default: qnn-v2.8.0.230223123141_52150
|
||||
values:
|
||||
- qnn-v2.6.0.221227110525_42395
|
||||
- qnn-v2.8.0.230223123141_52150
|
||||
default: qnn-v2.9.0.230327191003_53330
|
||||
|
||||
jobs:
|
||||
- job: Build_QNN_EP
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK version
|
||||
type: string
|
||||
default: qnn-v2.8.0.230223123141_52150
|
||||
values:
|
||||
- qnn-v2.6.0.221227110525_42395
|
||||
- qnn-v2.8.0.230223123141_52150
|
||||
default: qnn-v2.9.0.230327191003_53330
|
||||
|
||||
jobs:
|
||||
- job: Build_QNN_EP
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK version
|
||||
type: string
|
||||
default: qnn-v2.8.0.230223123141_52150_win
|
||||
values:
|
||||
- qnn-v2.6.0.221227161714_42395_win
|
||||
- qnn-v2.8.0.230223123141_52150_win
|
||||
default: qnn-v2.9.0.230327191003_53330_win
|
||||
|
||||
jobs:
|
||||
- job: 'build'
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@ parameters:
|
|||
- name: QnnSdk
|
||||
displayName: QNN SDK version
|
||||
type: string
|
||||
default: qnn-v2.8.0.230223123141_52150_win
|
||||
values:
|
||||
- qnn-v2.6.0.221227161714_42395_win
|
||||
- qnn-v2.8.0.230223123141_52150_win
|
||||
default: qnn-v2.9.0.230327191003_53330_win
|
||||
|
||||
jobs:
|
||||
- job: 'build'
|
||||
|
|
@ -31,11 +28,24 @@ jobs:
|
|||
addToPath: true
|
||||
architecture: $(buildArch)
|
||||
|
||||
# TODO: Remove --compile_no_warning_as_error once we update from MSVC Runtime library version 14.32 or we
|
||||
# fix/silence the following warning from the <variant> STL header. This warning halts compilation due to
|
||||
# the /external:templates- option, which allows warnings from external libs for template instantiations.
|
||||
# Warning is not reported on version 14.35.32215 of the Runtime library.
|
||||
#
|
||||
# [warning]C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.32.31326\include\variant(1586,9)
|
||||
# : Warning C4189: '_Size': local variable is initialized but not referenced
|
||||
# (compiling source file D:\a\_work\1\s\onnxruntime\core\session\IOBinding.cc)
|
||||
#
|
||||
# MSVC\14.32.31326\include\variant(1633): message : see reference to function template instantiation
|
||||
# '_Ret &std::_Visit_strategy<1>::_Visit2<_Ret,_ListOfIndexVectors,_Callable,const
|
||||
# std::variant<onnxruntime::OpSchemaKernelTypeStrResolver,onnxruntime::KernelTypeStrResolver>&>(size_t,_Callable &&,
|
||||
# const std::variant<onnxruntime::OpSchemaKernelTypeStrResolver,onnxruntime::KernelTypeStrResolver> &)'
|
||||
- task: PythonScript@0
|
||||
displayName: 'Generate cmake config'
|
||||
inputs:
|
||||
scriptPath: '$(Build.SourcesDirectory)\tools\ci_build\build.py'
|
||||
arguments: '--config $(BuildConfig) --build_dir $(Build.BinariesDirectory) --update --cmake_generator "Visual Studio 17 2022" --use_qnn --qnn_home $(QNN_SDK_ROOT) --parallel'
|
||||
arguments: '--config $(BuildConfig) --build_dir $(Build.BinariesDirectory) --compile_no_warning_as_error --update --cmake_generator "Visual Studio 17 2022" --use_qnn --qnn_home $(QNN_SDK_ROOT) --parallel'
|
||||
workingDirectory: '$(Build.BinariesDirectory)'
|
||||
|
||||
- task: VSBuild@1
|
||||
|
|
|
|||
Loading…
Reference in a new issue