Skip to content

Commit 4d02861

Browse files
authored
fix (#3294)
1 parent 5f18b0c commit 4d02861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/common/cpp/utils/src/config_factory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ModelConfig ConfigFactory::getUserConfig(const std::string& flags_d,
4646
config.compiledModelConfig.emplace(ov::affinity.name(), ov::Affinity::NONE);
4747
} else if (device == "GPU") {
4848
ov::streams::Num nstreams = deviceNstreams.count(device) > 0 ? ov::streams::Num(deviceNstreams[device]) : ov::streams::AUTO;
49-
config.compiledModelConfig.emplace(device, nstreams);
49+
config.compiledModelConfig.emplace(ov::streams::num.name(), nstreams);
5050
if (flags_d.find("MULTI") != std::string::npos && config.getDevices().find("CPU") != config.getDevices().end()) {
5151
// multi-device execution with the CPU + GPU performs best with GPU throttling hint,
5252
// which releases another CPU thread (that is otherwise used by the GPU driver for active polling)

0 commit comments

Comments
 (0)