Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zoulee24
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant