Skip to content

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

[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.cpp
index 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> instance
return;
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.cpp
index 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;
}