onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

[build/openvino] fix build option when using use_openvino with hetero/multi/auto

Open zoulee24 opened this issue 1 year ago • 5 comments
trafficstars

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

zoulee24 avatar Sep 29 '24 12:09 zoulee24

Windows CI/Vcpkg (pull_dequest) failed due to network error

zoulee24 avatar Oct 03 '24 11:10 zoulee24

@sfatimar @preetha-intel fyi

jywu-msft avatar Oct 06 '24 03:10 jywu-msft

What can I do to advance code merging?

@sfatimar @preetha-intel fyi

zoulee24 avatar Oct 12 '24 11:10 zoulee24

https://github.com/intel/onnxruntime/pull/474/files. Can you please simply remove const from dev_type parameter, it is much simpler fix.

sfatimar avatar Oct 14 '24 06:10 sfatimar

https://github.com/microsoft/onnxruntime/pull/22424 Please check if issue is fixed with this PR. It is merged.

sfatimar avatar Oct 17 '24 13:10 sfatimar