Skip to content

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

[GPU] Skip CM check on windows (#29316)

Jakub Kasprzak0659ea1074d4
diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/kernel_selector_helper.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/kernel_selector_helper.cpp
index aa5af0f5e2a..1a517df4629 100644
--- a/src/plugins/intel_gpu/src/graph/impls/ocl/kernel_selector_helper.cpp
+++ b/src/plugins/intel_gpu/src/graph/impls/ocl/kernel_selector_helper.cpp
@@ -70,6 +70,10 @@ kernel_selector::dev_type get_device_type(cldnn::device_type type) {
namespace cldnn {
bool check_cm_jit_support(cldnn::engine& e, const cldnn::ExecutionConfig& config) {
+ // Skip check for Windows as CM frontend is a component of Intel GPU driver
+#ifdef WIN32
+ return true;
+#else
auto device = e.get_device().get();
static std::mutex m;
@@ -107,6 +111,7 @@ bool check_cm_jit_support(cldnn::engine& e, const cldnn::ExecutionConfig& config
}
return cache.at(device);
+#endif
}
bool query_microkernels_supported(cldnn::engine& e, const cldnn::ExecutionConfig& config) {