From 53fef5f558c98c8a9b80d23c36f00b435a9ff7c7 Mon Sep 17 00:00:00 2001 From: Vitaliy Urusovskij Date: Thu, 14 Sep 2023 17:34:14 +0400 Subject: [PATCH] Fix incorrect use of `ASSERT` (#19838) --- src/plugins/intel_gpu/src/runtime/ocl/ocl_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/intel_gpu/src/runtime/ocl/ocl_engine.cpp b/src/plugins/intel_gpu/src/runtime/ocl/ocl_engine.cpp index 1f6c430207b..181c3baa0c5 100644 --- a/src/plugins/intel_gpu/src/runtime/ocl/ocl_engine.cpp +++ b/src/plugins/intel_gpu/src/runtime/ocl/ocl_engine.cpp @@ -112,7 +112,7 @@ const cl::Context& ocl_engine::get_cl_context() const { const cl::Device& ocl_engine::get_cl_device() const { auto cl_device = std::dynamic_pointer_cast(_device); - OPENVINO_ASSERT("cl_device, [GPU] Invalid device type for ocl_engine"); + OPENVINO_ASSERT(cl_device, "[GPU] Invalid device type for ocl_engine"); return cl_device->get_device(); }