-
Notifications
You must be signed in to change notification settings - Fork 213
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
Update documentation about accelerators #2943
base: main
Are you sure you want to change the base?
Changes from all commits
4e268e5
f78950b
df0f668
c1541c1
a753ae3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,6 +122,11 @@ Status validatePluginConfiguration(const plugin_config_t& pluginConfig, const st | |
std::string deviceName; | ||
|
||
while (getline(ss, deviceName, deviceDelimiter)) { | ||
char bracket = '('; | ||
auto bracketPos = deviceName.find(bracket); | ||
if (bracketPos != std::string::npos) { | ||
deviceName = deviceName.substr(0, bracketPos); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we doing this? Don't we exclude batching info here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. to get physical device and retrieve supported properties, we need to omit content in brackets. For the target device in model compilation, it should be included. |
||
} | ||
insertSupportedKeys(pluginSupportedConfigKeys, deviceName, ieCore); | ||
} | ||
} else { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't specify what is the
(16)
in this example - maybe its worth mentioning? Do I understand it correct that it is max batch size when grouping together?