Skip to content

Commit d8af3ae

Browse files
committed
Address review comments
1 parent 54727f6 commit d8af3ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/openvino/openvino_provider_factory.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ std::string ParseDeviceType(std::shared_ptr<OVCore> ov_core, const ProviderOptio
163163
ORT_THROW(" LUID : ", ov_dev, " does not match with device_type : ", selected_device);
164164
}
165165
} else {
166-
ORT_THROW("Invalid device_luid is passed. Kindly verify that the device type and LUID corresponds to the same HW");
166+
ORT_THROW(provider_options.at("device_luid"), " does not exist for the selected device_type : ", selected_device);
167167
}
168168
}
169169
if (!device_mode.empty()) {

0 commit comments

Comments
 (0)