[CONFORMANCE] w/a Api Conformance crash for NVIDIA (#16508)

This commit is contained in:
Irina Efode
2023-03-27 19:57:10 +04:00
committed by GitHub
parent 7ccf1c89cf
commit 9863b32792

View File

@@ -22,6 +22,7 @@ inline const std::string get_plugin_lib_name_by_device(const std::string& device
{ "GNA", "openvino_intel_gna_plugin" },
{ "GPU", "openvino_intel_gpu_plugin" },
{ "TEMPLATE", "openvino_template_plugin" },
{ "NVIDIA", "openvino_nvidia_gpu_plugin" },
};
if (devices.find(deviceName) == devices.end()) {
if (std::string(targetPluginName) != "") {