onnxruntime
onnxruntime copied to clipboard
[build/openvino] fix build option when using use_openvino with hetero/multi/auto
Description
fix openvino hetero/multi/auto config compile
Motivation and Context
When building with the option -- use_openvino and values of HETERO/MULTI/AUTO (ex: AUTO: GPU, CPU...), the build will fail.
I used a temporary variable std:: string dev_type_ (DEVICE) to avoid this issue, as I was trying to assign DEVICE to const std:: string, which is const char *.
#22175
Windows CI/Vcpkg (pull_dequest) failed due to network error
@sfatimar @preetha-intel fyi
What can I do to advance code merging?
@sfatimar @preetha-intel fyi
https://github.com/intel/onnxruntime/pull/474/files. Can you please simply remove const from dev_type parameter, it is much simpler fix.
https://github.com/microsoft/onnxruntime/pull/22424 Please check if issue is fixed with this PR. It is merged.