OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[GPU] Skip IGC microkernel probe on non-Intel GPUs (#38585)
Arseniy Obolenskiy14ddd301f8bd
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.cppindex 176716f4b94..cb0f672760e 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@@ -166,6 +166,12 @@ bool query_microkernels_supported(cldnn::engine& e, const cldnn::ExecutionConfigreturn cache.at(device);}+ // The probe uses Intel specific instructions, so skip it for other vendors.+ if (e.get_device_info().vendor_id != INTEL_VENDOR_ID) {+ cache[device] = false;+ return false;+ }+// Fast path mirroring oneDNN's mayiuse_microkernels(): when the driver runtime version is// known to support microkernels, skip building the igc_check probe kernel.if (driver_version_supports_microkernels(e.get_device_info().driver_version)) {