Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GPU] fix assertion bug in benchmark app (#36730)

Mikolaj Roszczykfa36a62a2517
diff --git a/samples/cpp/benchmark_app/remote_tensors_filling.cpp b/samples/cpp/benchmark_app/remote_tensors_filling.cpp
index f0533dda203..447c478f6de 100644
--- a/samples/cpp/benchmark_app/remote_tensors_filling.cpp
+++ b/samples/cpp/benchmark_app/remote_tensors_filling.cpp
@@ -96,7 +96,7 @@ std::map<std::string, ov::TensorVector> get_remote_input_tensors(
context_params.at(ov::intel_gpu::context_type.name()).as<ov::intel_gpu::ContextType>();
// when ZE runtime and interoperability is available, the context is set to OCL
// otherwise remote device memory is not enabled
- OPENVINO_ASSERT(context_type == ov::intel_gpu::ContextType::ZE,
+ OPENVINO_ASSERT(context_type != ov::intel_gpu::ContextType::ZE,
"[GPU] OCL context is required for remote device memory. "
"Driver needs to support LEO to enable OCL/ZE interoperability.");
} else {