Skip to content

Commit 0cfc14a

Browse files
committed
ensure the capability checks are also updated
1 parent 2d9ac13 commit 0cfc14a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/openvino/ov_versions/capability.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ GetCapability::GetCapability(const EPCtxHandler& ep_ctx_handler,
3434
graph_viewer_(graph_viewer_param),
3535
device_type_(std::move(device_type_param)) {
3636
bool npu_qdq_optimizer_enabled = false;
37-
if (device_type_.find("NPU") != std::string::npos) {
37+
if (device_type_.find("NPU") != std::string::npos || device_type_.find("GPU") != std::string::npos) {
3838
device_type_ = "CPU";
3939
if (enable_qdq_optimizer) npu_qdq_optimizer_enabled = true;
4040
}

0 commit comments

Comments
 (0)