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] Allow host buffer access for Xe2+ iGPUs (#32912)
Klimenko, Mikhaila930596d9801
diff --git a/src/plugins/intel_gpu/src/graph/network.cpp b/src/plugins/intel_gpu/src/graph/network.cppindex d08a8bdec5e..469d63e331c 100644--- a/src/plugins/intel_gpu/src/graph/network.cpp+++ b/src/plugins/intel_gpu/src/graph/network.cpp@@ -1004,8 +1004,8 @@ void network::transfer_memory_to_device(std::shared_ptr<primitive_inst> instancereturn;if (alloc_type == allocation_type::usm_host || alloc_type == allocation_type::usm_shared) {- // usm_device memory does not provide performance benefits on the LNL platform- if (get_engine().get_device_info().arch == gpu_arch::xe2 &&+ // usm_device memory does not provide performance benefits on the integrated Xe2+ platforms+ if (get_engine().get_device_info().arch >= gpu_arch::xe2 &&get_engine().get_device_info().dev_type == device_type::integrated_gpu) {return;}diff --git a/src/plugins/intel_gpu/src/graph/program.cpp b/src/plugins/intel_gpu/src/graph/program.cppindex d80f077db24..4b18c04807c 100644--- a/src/plugins/intel_gpu/src/graph/program.cpp+++ b/src/plugins/intel_gpu/src/graph/program.cpp@@ -691,8 +691,8 @@ void program::transfer_memory_to_device() {}if (alloc_type == allocation_type::usm_host || alloc_type == allocation_type::usm_shared) {- // usm_device memory does not provide performance benefits on the LNL platform- if (get_engine().get_device_info().arch == gpu_arch::xe2 &&+ // usm_device memory does not provide performance benefits on the integrated Xe2+ platforms+ if (get_engine().get_device_info().arch >= gpu_arch::xe2 &&get_engine().get_device_info().dev_type == device_type::integrated_gpu) {return;}