Skip to content

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

[GPU] Add SYCL runtime support (#35725)

Takafumi Nose3fe8ef182030
diff --git a/cmake/features.cmake b/cmake/features.cmake
index f1168663d89..d007660c764 100644
--- a/cmake/features.cmake
+++ b/cmake/features.cmake
@@ -44,7 +44,7 @@ endif()
# Set default GPU runtime to OCL
set(OV_GPU_DEFAULT_RT "OCL")
if (ENABLE_INTEL_GPU)
- ov_option_enum (GPU_RT_TYPE "Type of GPU runtime. Supported value: OCL and L0" ${OV_GPU_DEFAULT_RT} ALLOWED_VALUES L0 OCL)
+ ov_option_enum (GPU_RT_TYPE "Type of GPU runtime. Supported value: OCL, L0 and SYCL" ${OV_GPU_DEFAULT_RT} ALLOWED_VALUES L0 OCL SYCL)
endif()
ov_dependent_option (ENABLE_ONEDNN_FOR_GPU "Enable oneDNN with GPU support" ${ENABLE_ONEDNN_FOR_GPU_DEFAULT} "ENABLE_INTEL_GPU" OFF)
diff --git a/src/plugins/intel_gpu/CMakeLists.txt b/src/plugins/intel_gpu/CMakeLists.txt
index b205d676f4b..1a7ef57e021 100644
--- a/src/plugins/intel_gpu/CMakeLists.txt
+++ b/src/plugins/intel_gpu/CMakeLists.txt
@@ -10,6 +10,9 @@ set (TARGET_NAME "openvino_intel_gpu_plugin")
include(${CMAKE_CURRENT_LIST_DIR}/cmake/utils.cmake)
+# convert white-space separated string to list
+string(REPLACE " " ";" SYCL_EXTRA_FLAGS "${SYCL_EXTRA_FLAGS}")
+
if(OV_COMPILER_IS_INTEL_LLVM)
# For windows we need to disable warning as error option to make FindSYCL.cmake work
if (WIN32)
@@ -17,6 +20,13 @@ if(OV_COMPILER_IS_INTEL_LLVM)
endif()
find_package(IntelSYCL REQUIRED)
+ set(OV_GPU_WITH_SYCL 1)
+ set_property(TARGET IntelSYCL::SYCL_CXX APPEND PROPERTY
+ INTERFACE_COMPILE_OPTIONS ${SYCL_EXTRA_FLAGS}
+ )
+ set_property(TARGET IntelSYCL::SYCL_CXX APPEND PROPERTY
+ INTERFACE_LINK_OPTIONS ${SYCL_EXTRA_FLAGS}
+ )
if (WIN32)
ov_add_compiler_flags(/WX)
@@ -28,12 +38,72 @@ if(CMAKE_COMPILER_IS_GNUCXX)
ov_add_compiler_flags(-Wno-strict-aliasing)
endif()
+if(OV_COMPILER_IS_CLANG)
+ include(CMakePushCheckState)
+ include(CheckCXXSourceCompiles)
+
+ set(FSYCL_OPTION -fsycl)
+ check_cxx_compiler_flag(${FSYCL_OPTION} HAS_FSYCL_OPTION)
+
+ if(HAS_FSYCL_OPTION)
+ set(CHECK_SYCL_HEADER_SOURCE
+ "
+ #include <sycl/sycl.hpp>
+ int main() {
+ return 0;
+ }
+ ")
+
+ cmake_push_check_state(RESET)
+ string(JOIN " " CMAKE_REQUIRED_FLAGS ${FSYCL_OPTION} ${SYCL_EXTRA_FLAGS})
+ check_cxx_source_compiles("${CHECK_SYCL_HEADER_SOURCE}" HAS_SYCL_HEADER_WITH_FSYCL)
+ cmake_pop_check_state()
+ endif()
+
+ if(HAS_FSYCL_OPTION AND HAS_SYCL_HEADER_WITH_FSYCL)
+ set(OV_GPU_WITH_SYCL 1)
+
+ function(add_sycl_to_target)
+ set(options)
+ set(one_value_args TARGET)
+ set(multi_value_args SOURCES)
+ cmake_parse_arguments(SYCL
+ ""
+ "${one_value_args}"
+ "${multi_value_args}"
+ ${ARGN})
+ if(SYCL_SOURCES)
+ foreach(source ${SYCL_SOURCES})
+ set_property(SOURCE ${source}
+ APPEND
+ PROPERTY COMPILE_OPTIONS
+ ${FSYCL_OPTION} ${SYCL_EXTRA_FLAGS}
+ )
+ endforeach()
+ else()
+ target_compile_options(${SYCL_TARGET} PUBLIC ${FSYCL_OPTION} ${SYCL_EXTRA_FLAGS})
+ endif()
+ target_link_options(${SYCL_TARGET} PUBLIC ${FSYCL_OPTION} ${SYCL_EXTRA_FLAGS})
+ endfunction()
+ endif()
+endif()
+
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)
# see https://github.com/oneapi-src/oneDNN/issues/2028
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zc:__cplusplus")
endif()
+if(GPU_RT_TYPE STREQUAL "SYCL" AND NOT OV_GPU_WITH_SYCL)
+ message(FATAL_ERROR "GPU_RT_TYPE is set to SYCL, but SYCL is not available for the selected compiler/environment.")
+endif()
+
+# When -fsycl and -flto are both active, archive members are emitted in a format
+# that the linker cannot read from static libraries ("archive member is neither ET_REL nor LLVM bitcode").
+if(OV_GPU_WITH_SYCL AND ENABLE_LTO)
+ message(FATAL_ERROR "Intel GPU plugin with SYCL is not supported with ENABLE_LTO=ON")
+endif()
+
if(WIN32)
add_definitions(-DNOMINMAX)
endif()
diff --git a/src/plugins/intel_gpu/cmake/utils.cmake b/src/plugins/intel_gpu/cmake/utils.cmake
index cc5418f0249..ce412d8a13c 100644
--- a/src/plugins/intel_gpu/cmake/utils.cmake
+++ b/src/plugins/intel_gpu/cmake/utils.cmake
@@ -9,7 +9,9 @@ function(ov_gpu_set_runtime_interface_for TARGET_NAME)
elseif(GPU_RT_TYPE STREQUAL "OCL")
target_compile_definitions(${TARGET_NAME} PRIVATE OV_GPU_WITH_OCL_RT=1)
target_link_libraries(${TARGET_NAME} PRIVATE OpenCL::OpenCL)
+ elseif(GPU_RT_TYPE STREQUAL "SYCL")
+ target_compile_definitions(${TARGET_NAME} PRIVATE OV_GPU_WITH_SYCL_RT=1)
else()
- message(FATAL_ERROR "Invalid GPU runtime type: `${GPU_RT_TYPE}` Only `L0` and `OCL` are supported")
+ message(FATAL_ERROR "Invalid GPU runtime type: `${GPU_RT_TYPE}` Only `L0`, `OCL` and `SYCL` are supported")
endif()
endfunction()
diff --git a/src/plugins/intel_gpu/include/intel_gpu/runtime/device.hpp b/src/plugins/intel_gpu/include/intel_gpu/runtime/device.hpp
index 9ea4dab9bae..9f543eb9fb9 100644
--- a/src/plugins/intel_gpu/include/intel_gpu/runtime/device.hpp
+++ b/src/plugins/intel_gpu/include/intel_gpu/runtime/device.hpp
@@ -13,6 +13,8 @@
namespace cldnn {
const uint32_t INTEL_VENDOR_ID = 0x8086;
+const uint32_t NVIDIA_VENDOR_ID = 0x10DE;
+const uint32_t AMD_VENDOR_ID = 0x1002;
/// @brief Represents detected GPU device object. Use device_query to get list of available objects.
struct device {
diff --git a/src/plugins/intel_gpu/include/intel_gpu/runtime/engine.hpp b/src/plugins/intel_gpu/include/intel_gpu/runtime/engine.hpp
index b15dac3e2ff..5b5118e9ac0 100644
--- a/src/plugins/intel_gpu/include/intel_gpu/runtime/engine.hpp
+++ b/src/plugins/intel_gpu/include/intel_gpu/runtime/engine.hpp
@@ -42,6 +42,8 @@ public:
virtual engine_types type() const = 0;
/// Returns runtime type used in the engine
virtual runtime_types runtime_type() const = 0;
+ /// Returns backend type used in the engine
+ virtual backend_types backend_type() const = 0;
/// Create memory object attached to the buffer allocated by user.
/// @param ptr The pointer to user allocated buffer.
diff --git a/src/plugins/intel_gpu/include/intel_gpu/runtime/engine_configuration.hpp b/src/plugins/intel_gpu/include/intel_gpu/runtime/engine_configuration.hpp
index aad08920737..31c28145e57 100644
--- a/src/plugins/intel_gpu/include/intel_gpu/runtime/engine_configuration.hpp
+++ b/src/plugins/intel_gpu/include/intel_gpu/runtime/engine_configuration.hpp
@@ -29,12 +29,14 @@ inline std::ostream& operator<<(std::ostream& os, const engine_types& type) {
/// @brief Defines available runtime types
enum class runtime_types : int32_t {
ocl,
+ sycl,
ze,
};
inline std::ostream& operator<<(std::ostream& os, const runtime_types& type) {
switch (type) {
case runtime_types::ocl: os << "ocl"; break;
+ case runtime_types::sycl: os << "sycl"; break;
case runtime_types::ze: os << "ze"; break;
default: os << "unknown"; break;
}
@@ -42,4 +44,24 @@ inline std::ostream& operator<<(std::ostream& os, const runtime_types& type) {
return os;
}
+/// @brief Defines available backend types
+enum class backend_types : int32_t {
+ cuda,
+ hip,
+ ocl,
+ ze,
+};
+
+inline std::ostream& operator<<(std::ostream& os, const backend_types& type) {
+ switch (type) {
+ case backend_types::cuda: os << "cuda"; break;
+ case backend_types::hip: os << "hip"; break;
+ case backend_types::ocl: os << "ocl"; break;
+ case backend_types::ze: os << "ze"; break;
+ default: os << "unknown"; break;
+ }
+
+ return os;
+}
+
} // namespace cldnn
diff --git a/src/plugins/intel_gpu/include/intel_gpu/runtime/memory_caps.hpp b/src/plugins/intel_gpu/include/intel_gpu/runtime/memory_caps.hpp
index 8d392e9e59c..c41bdd383fc 100644
--- a/src/plugins/intel_gpu/include/intel_gpu/runtime/memory_caps.hpp
+++ b/src/plugins/intel_gpu/include/intel_gpu/runtime/memory_caps.hpp
@@ -18,6 +18,7 @@ enum class allocation_type {
usm_host, // Accessible by host and device. Not Migratable
usm_shared, // Accessible by host and device. Migrtable.
usm_device, // Accessible only by device. Not migratable.
+ sycl_buffer, // Use standard SYCL buffer allocations.
ze_image, // Level Zero image allocation. Accessible only by device.
max_value, // Used for data array size. Shall be last
};
@@ -28,6 +29,7 @@ inline std::ostream& operator<<(std::ostream& out, const allocation_type& alloc_
case allocation_type::usm_host: out << "usm_host"; break;
case allocation_type::usm_shared: out << "usm_shared"; break;
case allocation_type::usm_device: out << "usm_device"; break;
+ case allocation_type::sycl_buffer: out << "sycl_buffer"; break;
case allocation_type::ze_image: out << "ze_image"; break;
default: out << "unknown"; break;
}
diff --git a/src/plugins/intel_gpu/src/graph/CMakeLists.txt b/src/plugins/intel_gpu/src/graph/CMakeLists.txt
index 26c3caa82fa..0af5cdc6402 100644
--- a/src/plugins/intel_gpu/src/graph/CMakeLists.txt
+++ b/src/plugins/intel_gpu/src/graph/CMakeLists.txt
@@ -84,6 +84,7 @@ macro(ov_gpu_add_backend_target)
target_compile_options(${TARGET_NAME} PRIVATE ${COMMON_COMPILE_OPTIONS})
target_compile_definitions(${TARGET_NAME} PRIVATE ${TARGET_DEFINITIONS})
ov_set_threading_interface_for(${TARGET_NAME})
+ ov_gpu_set_runtime_interface_for(${TARGET_NAME})
# We use onednn headers all over the graph module, so we have to append includes to all backends and add a dependency between targets
if (ENABLE_ONEDNN_FOR_GPU)
@@ -141,6 +142,7 @@ ov_build_target_faster(${TARGET_NAME} PCH)
target_compile_options(${TARGET_NAME} PRIVATE ${COMMON_COMPILE_OPTIONS})
ov_set_threading_interface_for(${TARGET_NAME})
+ov_gpu_set_runtime_interface_for(${TARGET_NAME})
set_target_properties(${TARGET_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO})
diff --git a/src/plugins/intel_gpu/src/graph/graph_optimizer/build_implementations.cpp b/src/plugins/intel_gpu/src/graph/graph_optimizer/build_implementations.cpp
index 99c921e601b..3bc391ed3fc 100644
--- a/src/plugins/intel_gpu/src/graph/graph_optimizer/build_implementations.cpp
+++ b/src/plugins/intel_gpu/src/graph/graph_optimizer/build_implementations.cpp
@@ -15,6 +15,11 @@ void build_implementations::run(program& p) {
return;
}
+ // Skip for the SYCL runtime because JIT compilation is not supported
+ if (p.get_engine().runtime_type() == runtime_types::sycl) {
+ return;
+ }
+
auto& cache = p.get_kernels_cache();
for (auto& n : p.get_processing_order()) {
if (auto impl = n->get_selected_impl()) {
diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/CMakeLists.txt b/src/plugins/intel_gpu/src/graph/impls/ocl/CMakeLists.txt
index 304efa4c5f2..15f5cc4a8a3 100644
--- a/src/plugins/intel_gpu/src/graph/impls/ocl/CMakeLists.txt
+++ b/src/plugins/intel_gpu/src/graph/impls/ocl/CMakeLists.txt
@@ -9,3 +9,9 @@ ov_gpu_add_backend_target(
)
ov_build_target_faster(${TARGET_NAME} PCH)
+
+if(GPU_RT_TYPE STREQUAL "SYCL")
+ # kernels_cache.cpp includes oneDNN headers that require SYCL backend support.
+ # Without the SYCL compilation flag, the compiler will fail with "Unsupported compiler" error.
+ add_sycl_to_target(TARGET ${TARGET_NAME} SOURCES kernels_cache.cpp)
+endif()
diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl_v2/CMakeLists.txt b/src/plugins/intel_gpu/src/graph/impls/ocl_v2/CMakeLists.txt
index d6e5b05e6e4..0ef2a20e900 100644
--- a/src/plugins/intel_gpu/src/graph/impls/ocl_v2/CMakeLists.txt
+++ b/src/plugins/intel_gpu/src/graph/impls/ocl_v2/CMakeLists.txt
@@ -53,3 +53,9 @@ ov_gpu_add_backend_target(
)
ov_build_target_faster(${TARGET_NAME} PCH)
+
+if(GPU_RT_TYPE STREQUAL "SYCL")
+ # Some sources include oneDNN headers that require SYCL backend support.
+ # Without the SYCL compilation flag, the compiler will fail with "Unsupported compiler" error.
+ add_sycl_to_target(TARGET ${TARGET_NAME} SOURCES)
+endif()
diff --git a/src/plugins/intel_gpu/src/graph/impls/sycl/CMakeLists.txt b/src/plugins/intel_gpu/src/graph/impls/sycl/CMakeLists.txt
index bfeba3df200..4ebb6f169c5 100644
--- a/src/plugins/intel_gpu/src/graph/impls/sycl/CMakeLists.txt
+++ b/src/plugins/intel_gpu/src/graph/impls/sycl/CMakeLists.txt
@@ -2,14 +2,25 @@
# SPDX-License-Identifier: Apache-2.0
#
-if(NOT OV_COMPILER_IS_INTEL_LLVM)
+if(NOT OV_GPU_WITH_SYCL)
return()
endif()
set(TARGET_NAME "openvino_intel_gpu_sycl_obj")
+set(SOURCES_OCL_RT "${CMAKE_CURRENT_SOURCE_DIR}/impl_example.cpp")
+
+if(GPU_RT_TYPE STREQUAL "SYCL")
+ set(EXCLUDED_SOURCE_PATHS ${SOURCES_OCL_RT})
+else()
+ file(GLOB EXCLUDED_SOURCE_PATHS "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
+ list(REMOVE_ITEM EXCLUDED_SOURCE_PATHS ${SOURCES_OCL_RT})
+endif()
+
ov_gpu_add_backend_target(
NAME ${TARGET_NAME}
+ BYPASS
+ EXCLUDED_SOURCE_PATHS ${EXCLUDED_SOURCE_PATHS}
)
add_sycl_to_target(TARGET ${TARGET_NAME})
diff --git a/src/plugins/intel_gpu/src/graph/impls/sycl/eltwise.cpp b/src/plugins/intel_gpu/src/graph/impls/sycl/eltwise.cpp
new file mode 100644
index 00000000000..f67b37a40f0
--- /dev/null
+++ b/src/plugins/intel_gpu/src/graph/impls/sycl/eltwise.cpp
@@ -0,0 +1,387 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#include "eltwise.hpp"
+#include "eltwise_inst.h"
+#include "intel_gpu/primitives/reorder.hpp"
+#include "sycl/sycl_wrapper.hpp"
+#include "sycl/sycl_stream.hpp"
+#include "sycl/sycl_memory.hpp"
+#include "openvino/core/type/element_type.hpp"
+#include "primitive_sycl_base.h"
+#include "registry/implementation_map.hpp"
+
+#include <memory>
+#include <variant>
+
+namespace {
+
+/**
+ * @brief Base class for eltwise operation function objects using CRTP (Curiously Recurring Template Pattern)
+ *
+ * This base class provides a common interface for all eltwise operations while allowing
+ * compile-time polymorphism. Each derived class must implement the 'apply' method.
+ * Supports heterogeneous input types and flexible output types.
+ *
+ * @tparam Derived The derived class implementing the specific operation
+ */
+template<typename Derived>
+struct EltwiseOpBase {
+ /**
+ * @brief Function call operator that delegates to the derived class's apply method
+ * @tparam T1 The data type for the first operand
+ * @tparam T2 The data type for the second operand
+ * @param a First operand
+ * @param b Second operand
+ * @return Result of the operation (type determined by derived class implementation)
+ */
+ template<typename T1, typename T2>
+ constexpr auto operator()(const T1& a, const T2& b) const noexcept {
+ return static_cast<const Derived*>(this)->apply(a, b);
+ }
+};
+
+// ============================================================================
+// Arithmetic Operations
+// ============================================================================
+
+/**
+ * @brief Addition operation (a + b)
+ * Commutative operation that returns the sum of two operands
+ */
+struct AddOp : public EltwiseOpBase<AddOp> {
+ template<typename T1, typename T2>
+ constexpr auto apply(const T1& a, const T2& b) const noexcept {
+ return a + b;
+ }
+};
+
+/**
+ * @brief Subtraction operation (a - b)
+ * Non-commutative operation that returns the difference of two operands
+ */
+struct SubOp : public EltwiseOpBase<SubOp> {
+ template<typename T1, typename T2>
+ constexpr auto apply(const T1& a, const T2& b) const noexcept {
+ return a - b;
+ }
+};
+
+/**
+ * @brief Multiplication operation (a * b)
+ * Commutative operation that returns the product of two operands
+ */
+struct MulOp : public EltwiseOpBase<MulOp> {
+ template<typename T1, typename T2>
+ constexpr auto apply(const T1& a, const T2& b) const noexcept {
+ return a * b;
+ }
+};
+
+/**
+ * @brief Division operation (a / b)
+ * Non-commutative operation that returns the quotient of two operands
+ */
+struct DivOp : public EltwiseOpBase<DivOp> {
+ template<typename T1, typename T2>
+ constexpr auto apply(const T1& a, const T2& b) const noexcept {
+ return a / b;
+ }
+};
+
+/**
+ * @brief Power operation (pow(a, b))
+ * Non-commutative operation that returns a raised to the power of b
+ */
+struct PowOp : public EltwiseOpBase<PowOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const noexcept {
+ return ::sycl::pow(a, b);
+ }
+};
+
+// ============================================================================
+// Min/Max Operations
+// ============================================================================
+
+/**
+ * @brief Maximum operation (max(a, b))
+ * Commutative operation that returns the maximum of two operands
+ */
+struct MaxOp : public EltwiseOpBase<MaxOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const {
+ return ::sycl::max(a, b);
+ }
+};
+
+/**
+ * @brief Minimum operation (min(a, b))
+ * Commutative operation that returns the minimum of two operands
+ */
+struct MinOp : public EltwiseOpBase<MinOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const {
+ return ::sycl::min(a, b);
+ }
+};
+
+// ============================================================================
+// Special Operations
+// ============================================================================
+
+/**
+ * @brief Squared difference operation ((a - b)^2)
+ * Commutative operation that returns the square of the difference
+ */
+struct SquaredDiffOp : public EltwiseOpBase<SquaredDiffOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const {
+ const auto diff = a - b;
+ return diff * diff;
+ }
+};
+
+// ============================================================================
+// Comparison Operations (return 0 or 1)
+// ============================================================================
+
+/**
+ * @brief Equality comparison (a == b)
+ * Commutative boolean operation that returns 1 if equal, 0 otherwise
+ */
+struct EqOp : public EltwiseOpBase<EqOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const {
+ return (a == b) ? 1 : 0;
+ }
+};
+
+/**
+ * @brief Not equal comparison (a != b)
+ * Commutative boolean operation that returns 1 if not equal, 0 otherwise
+ */
+struct NeOp : public EltwiseOpBase<NeOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const {
+ return (a != b) ? 1 : 0;
+ }
+};
+
+/**
+ * @brief Less than comparison (a < b)
+ * Non-commutative boolean operation that returns 1 if a < b, 0 otherwise
+ */
+struct LtOp : public EltwiseOpBase<LtOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const {
+ return (a < b) ? 1 : 0;
+ }
+};
+
+/**
+ * @brief Less than or equal comparison (a <= b)
+ * Non-commutative boolean operation that returns 1 if a <= b, 0 otherwise
+ */
+struct LeOp : public EltwiseOpBase<LeOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const {
+ return (a <= b) ? 1 : 0;
+ }
+};
+
+/**
+ * @brief Greater than comparison (a > b)
+ * Non-commutative boolean operation that returns 1 if a > b, 0 otherwise
+ */
+struct GtOp : public EltwiseOpBase<GtOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const {
+ return (a > b) ? 1 : 0;
+ }
+};
+
+/**
+ * @brief Greater than or equal comparison (a >= b)
+ * Non-commutative boolean operation that returns 1 if a >= b, 0 otherwise
+ */
+struct GeOp : public EltwiseOpBase<GeOp> {
+ template<typename T1, typename T2>
+ inline auto apply(const T1& a, const T2& b) const {
+ return (a >= b) ? 1 : 0;
+ }
+};
+
+template <typename InPtrType, typename OutPtrType, typename OpFunc>
+inline void eltwise_kernel(::sycl::item<1> index, InPtrType in0, InPtrType in1, OutPtrType out, size_t in1_stride, OpFunc op) {
+ auto val0 = in0[index];
+ auto val1 = in1[index * in1_stride];
+ out[index] = op(val0, val1);
+}
+
+// for sycl::buffer
+template<typename DType, int Dim, typename Allocator, typename OpFunc>
+::sycl::event run_eltwise(::sycl::queue& queue, std::vector<::sycl::event> const& events,
+ ::sycl::buffer<DType, Dim, Allocator>& in0,
+ ::sycl::buffer<DType, Dim, Allocator>& in1,
+ ::sycl::buffer<DType, Dim, Allocator>& out,
+ const ov::Shape& in0_shape, const ov::Shape& in1_shape, const ov::Shape& out_shape,
+ OpFunc op) {
+ auto num_elements = ov::shape_size(out_shape);
+ size_t in1_stride = ov::shape_size(in1_shape) > 1 ? 1 : 0;
+
+ return queue.submit([&](::sycl::handler& cgh) {
+ cgh.depends_on(events);
+
+ auto in0_acc = in0.template get_access<::sycl::access::mode::read>(cgh);
+ auto in1_acc = in1.template get_access<::sycl::access::mode::read>(cgh);
+ auto out_acc = out.template get_access<::sycl::access::mode::write>(cgh);
+
+ cgh.parallel_for(::sycl::range<1>(num_elements), [=](::sycl::item<1> index) {
+ auto in0_ptr = in0_acc.template get_multi_ptr<::sycl::access::decorated::yes>();
+ auto in1_ptr = in1_acc.template get_multi_ptr<::sycl::access::decorated::yes>();
+ auto out_ptr = out_acc.template get_multi_ptr<::sycl::access::decorated::yes>();
+ eltwise_kernel(index, in0_ptr, in1_ptr, out_ptr, in1_stride, op);
+ });
+ });
+}
+
+/**
+ * @brief Get the appropriate operation function object based on eltwise_mode
+ *
+ * This function provides a centralized way to map eltwise_mode enum values
+ * to their corresponding operation function objects.
+ *
+ * @param mode The eltwise operation mode
+ * @return The operation function object as a variant
+ */
+using EltwiseOperator = std::variant<AddOp, SubOp, MulOp, DivOp, MaxOp, MinOp, PowOp, SquaredDiffOp, EqOp, NeOp, LtOp, LeOp, GtOp, GeOp>;
+
+EltwiseOperator get_eltwise_operator(cldnn::eltwise_mode mode) {
+ switch (mode) {
+ case cldnn::eltwise_mode::sum:
+ return AddOp{};
+ case cldnn::eltwise_mode::sub:
+ return SubOp{};
+ case cldnn::eltwise_mode::prod:
+ return MulOp{};
+ case cldnn::eltwise_mode::div:
+ return DivOp{};
+ case cldnn::eltwise_mode::max:
+ return MaxOp{};
+ case cldnn::eltwise_mode::min:
+ return MinOp{};
+ case cldnn::eltwise_mode::pow:
+ return PowOp{};
+ case cldnn::eltwise_mode::squared_diff:
+ return SquaredDiffOp{};
+ case cldnn::eltwise_mode::eq:
+ return EqOp{};
+ case cldnn::eltwise_mode::ne:
+ return NeOp{};
+ case cldnn::eltwise_mode::lt:
+ return LtOp{};
+ case cldnn::eltwise_mode::le:
+ return LeOp{};
+ case cldnn::eltwise_mode::gt:
+ return GtOp{};
+ case cldnn::eltwise_mode::ge:
+ return GeOp{};
+ default:
+ OPENVINO_THROW("Unsupported eltwise mode: ", static_cast<int>(mode));
+ }
+}
+
+} // namespace
+
+namespace cldnn {
+namespace sycl {
+
+struct eltwise_sycl : typed_primitive_sycl_impl<eltwise> {
+ using parent = typed_primitive_sycl_impl<eltwise>;
+ using parent::parent;
+
+ DECLARE_OBJECT_TYPE_SERIALIZATION(cldnn::sycl::eltwise_sycl)
+
+ std::unique_ptr<primitive_impl> clone() const override {
+ return std::make_unique<eltwise_sycl>(*this);
+ }
+
+ event::ptr execute_impl(const std::vector<event::ptr>& events, typed_primitive_inst<eltwise>& instance) override {
+ auto& network = instance.get_network();
+ const auto& desc = instance.get_typed_desc<eltwise>();
+
+ auto& stream = downcast<sycl::sycl_stream>(network.get_stream());
+ ::sycl::queue& sycl_queue = stream.get_sycl_queue();
+ std::vector<::sycl::event> sycl_events = to_sycl_events(events);
+
+ const auto& params = instance.get_impl_params();
+ auto in0_shape = params->input_layouts[0].get_shape();
+ auto in1_shape = params->input_layouts[1].get_shape();
+ auto out_shape = params->output_layouts[0].get_shape();
+
+ auto input0 = instance.input_memory_ptr(0);
+ auto input1 = instance.input_memory_ptr(1);
+ auto output = instance.output_memory_ptr(0);
+
+ ov::element::Type_t in0_t = params->input_layouts[0].data_type;
+ ov::element::Type_t in1_t = params->input_layouts[1].data_type;
+ ov::element::Type_t out_t = params->output_layouts[0].data_type;
+
+ OPENVINO_ASSERT(in0_t == in1_t && in0_t == out_t);
+ OPENVINO_ASSERT(in0_shape.size() == in1_shape.size() && in0_shape.size() == out_shape.size());
+
+ OPENVINO_ASSERT(ov::shape_size(in0_shape) == ov::shape_size(out_shape));
+ if (ov::shape_size(in0_shape) != ov::shape_size(in1_shape)) {
+ if (ov::shape_size(in1_shape) == 1) {
+ // Handle broadcast case
+ } else {
+ OPENVINO_THROW("Eltwise does not support broadcasting except for scalar input");
+ }
+ }
+
+
+ if (out_t == ov::element::f32) {
+ OPENVINO_ASSERT(input0->get_allocation_type() == cldnn::allocation_type::sycl_buffer);
+ auto buf_in0 = std::dynamic_pointer_cast<sycl::gpu_buffer>(input0)->get_buffer().reinterpret<float>();
+ auto buf_in1 = std::dynamic_pointer_cast<sycl::gpu_buffer>(input1)->get_buffer().reinterpret<float>();
+ auto buf_out = std::dynamic_pointer_cast<sycl::gpu_buffer>(output)->get_buffer().reinterpret<float>();
+
+ auto op = get_eltwise_operator(desc->mode);
+ auto ev = std::visit([&](auto&& operation) {
+ return run_eltwise(sycl_queue, sycl_events, buf_in0, buf_in1, buf_out, in0_shape, in1_shape, out_shape, operation);
+ }, op);
+ return stream.create_base_event(ev);
+ } else if (out_t == ov::element::f16) {
+ OPENVINO_ASSERT(input0->get_allocation_type() == cldnn::allocation_type::sycl_buffer);
+ auto buf_in0 = std::dynamic_pointer_cast<sycl::gpu_buffer>(input0)->get_buffer().reinterpret<::sycl::half>();
+ auto buf_in1 = std::dynamic_pointer_cast<sycl::gpu_buffer>(input1)->get_buffer().reinterpret<::sycl::half>();
+ auto buf_out = std::dynamic_pointer_cast<sycl::gpu_buffer>(output)->get_buffer().reinterpret<::sycl::half>();
+
+ auto op = get_eltwise_operator(desc->mode);
+ auto ev = std::visit([&](auto&& operation) {
+ return run_eltwise(sycl_queue, sycl_events, buf_in0, buf_in1, buf_out, in0_shape, in1_shape, out_shape, operation);
+ }, op);
+ return stream.create_base_event(ev);
+ } else {
+ OPENVINO_THROW("No instance for given types found: ", out_t);
+ }
+ }
+
+ static std::unique_ptr<primitive_impl> create(const eltwise_node& arg, const kernel_impl_params& impl_params) {
+ auto& engine = impl_params.prog->get_engine();
+ auto& config = impl_params.prog->get_config();
+ return std::make_unique<eltwise_sycl>(engine, config, nullptr /*weights_reorder*/);
+ }
+};
+
+std::unique_ptr<primitive_impl> EltwiseImplementationManager::create_impl(const program_node& node, const kernel_impl_params& params) const {
+ assert(node.is_type<eltwise>());
+ return sycl::eltwise_sycl::create(static_cast<const eltwise_node&>(node), params);
+}
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/graph/impls/sycl/eltwise.hpp b/src/plugins/intel_gpu/src/graph/impls/sycl/eltwise.hpp
new file mode 100644
index 00000000000..df69b401ba7
--- /dev/null
+++ b/src/plugins/intel_gpu/src/graph/impls/sycl/eltwise.hpp
@@ -0,0 +1,58 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "eltwise_inst.h"
+#include "registry/implementation_manager.hpp"
+
+#include <memory>
+
+namespace cldnn {
+namespace sycl {
+
+struct EltwiseImplementationManager : public ImplementationManager {
+ OV_GPU_PRIMITIVE_IMPL("EltwiseImplementationManager")
+ EltwiseImplementationManager(shape_types shape_type, ValidateFunc vf = nullptr) : ImplementationManager(impl_types::sycl, shape_type, vf) {}
+ std::unique_ptr<primitive_impl> create_impl(const program_node& node, const kernel_impl_params& params) const override;
+
+ bool validate_impl(const program_node& node) const override {
+ assert(node.is_type<eltwise>());
+
+ static const std::vector<format::type> supported_formats = {
+ format::any,
+ format::bfyx,
+ };
+
+ static const std::vector<ov::element::Type_t> supported_types = {
+ ov::element::f32,
+ ov::element::f16,
+ };
+
+ const auto& eltwise_node = node.as<eltwise>();
+ const auto& in0_layout = eltwise_node.get_input_layout(0);
+ const auto& in1_layout = eltwise_node.get_input_layout(1);
+ const auto& out_layout = eltwise_node.get_output_layout(0);
+ auto in0_dt = in0_layout.data_type;
+ auto in1_dt = in1_layout.data_type;
+ auto out_dt = out_layout.data_type;
+
+ if (!one_of(in0_dt, supported_types) || !one_of(in1_dt, supported_types) || !one_of(out_dt, supported_types))
+ return false;
+
+ if (!one_of(in0_layout.format.value, supported_formats) || !one_of(in1_layout.format.value, supported_formats) ||
+ !one_of(out_layout.format.value, supported_formats))
+ return false;
+
+ if (in0_layout.data_padding || in1_layout.data_padding || out_layout.data_padding)
+ return false;
+
+ return true;
+ }
+};
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/graph/impls/sycl/primitive_sycl_base.h b/src/plugins/intel_gpu/src/graph/impls/sycl/primitive_sycl_base.h
index 4aad423ec3c..b86746f2968 100644
--- a/src/plugins/intel_gpu/src/graph/impls/sycl/primitive_sycl_base.h
+++ b/src/plugins/intel_gpu/src/graph/impls/sycl/primitive_sycl_base.h
@@ -8,11 +8,11 @@
#include "intel_gpu/runtime/memory.hpp"
#include "registry/registry.hpp"
#include "runtime/ocl/ocl_event.hpp"
+#include "sycl/sycl_base_event.hpp"
+#include "sycl/sycl_wrapper.hpp"
#include <vector>
-#include "sycl/sycl.hpp"
-
namespace cldnn {
namespace sycl {
@@ -51,6 +51,16 @@ protected:
}
}
+ static std::vector<::sycl::event> to_sycl_events(std::vector<event::ptr> const& deps) {
+ std::vector<::sycl::event> events;
+ for (auto& dep : deps) {
+ if (auto sycl_base_ev = std::dynamic_pointer_cast<sycl::sycl_base_event>(dep)) {
+ events.push_back(sycl_base_ev->get());
+ }
+ }
+ return events;
+ }
+
std::vector<BufferDescriptor> get_internal_buffer_descs(const kernel_impl_params&) const override {
return {};
}
diff --git a/src/plugins/intel_gpu/src/graph/program.cpp b/src/plugins/intel_gpu/src/graph/program.cpp
index 5bbfc48c1ff..f163eb3cb35 100644
--- a/src/plugins/intel_gpu/src/graph/program.cpp
+++ b/src/plugins/intel_gpu/src/graph/program.cpp
@@ -236,10 +236,13 @@ void program::init_program() {
if (_task_executor == nullptr)
_task_executor = program::make_task_executor(_config);
- _kernels_cache = std::unique_ptr<kernels_cache>(new kernels_cache(_engine, _config, prog_id, _task_executor,
- kernel_selector::KernelBase::get_db().get_batch_headers()));
- _kernels_cache->set_kernels_reuse(_config.get_enable_kernels_reuse());
+ if (_engine.runtime_type() != runtime_types::sycl) {
+ _kernels_cache = std::unique_ptr<kernels_cache>(new kernels_cache(_engine, _config, prog_id, _task_executor,
+ kernel_selector::KernelBase::get_db().get_batch_headers()));
+
+ _kernels_cache->set_kernels_reuse(_config.get_enable_kernels_reuse());
+ }
if (!_compilation_context)
_compilation_context = program::make_compilation_context(_config);
@@ -269,6 +272,7 @@ void program::init_primitives() {
}
kernels_cache& program::get_kernels_cache() const {
+ OPENVINO_ASSERT(_engine.runtime_type() != runtime_types::sycl, "[GPU] Kernels cache is not available for SYCL runtime");
return *_kernels_cache;
}
@@ -1838,6 +1842,10 @@ void program::cancel_compilation_context() {
}
void program::save(cldnn::BinaryOutputBuffer& ob) const {
+ if (_engine.runtime_type() == runtime_types::sycl) {
+ OPENVINO_THROW("[GPU] program::save is not supported for SYCL runtime");
+ }
+
std::map<cldnn::memory::ptr, std::vector<const cldnn::program_node*>> mutable_datas_ptrs;
ob << nodes_map.size();
@@ -1959,6 +1967,10 @@ void program::save(cldnn::BinaryOutputBuffer& ob) const {
void program::load(cldnn::BinaryInputBuffer& ib,
std::shared_ptr<const ov::Model> model_ptr,
std::shared_ptr<ov::intel_gpu::GpuWeightlessCacheMap> cache_attr_map) {
+ if (_engine.runtime_type() == runtime_types::sycl) {
+ OPENVINO_THROW("[GPU] program::load is not supported for SYCL runtime");
+ }
+
init_program();
std::shared_ptr<WeightsMemory> weights_memory = nullptr;
diff --git a/src/plugins/intel_gpu/src/graph/registry/eltwise_impls.cpp b/src/plugins/intel_gpu/src/graph/registry/eltwise_impls.cpp
index 5777230ca8a..5fb2f1ab9b9 100644
--- a/src/plugins/intel_gpu/src/graph/registry/eltwise_impls.cpp
+++ b/src/plugins/intel_gpu/src/graph/registry/eltwise_impls.cpp
@@ -7,12 +7,17 @@
#include "intel_gpu/primitives/eltwise.hpp"
#include "primitive_inst.h"
+#ifdef OV_GPU_WITH_SYCL_RT
+ #include "impls/sycl/eltwise.hpp"
+#endif
+
namespace ov::intel_gpu {
using namespace cldnn;
const std::vector<std::shared_ptr<cldnn::ImplementationManager>>& Registry<eltwise>::get_implementations() {
static const std::vector<std::shared_ptr<ImplementationManager>> impls = {
+ OV_GPU_CREATE_INSTANCE_SYCL(cldnn::sycl::EltwiseImplementationManager, shape_types::static_shape, not_in_shape_flow())
OV_GPU_GET_INSTANCE_OCL(eltwise, shape_types::static_shape, not_in_shape_flow())
OV_GPU_GET_INSTANCE_OCL(eltwise, shape_types::dynamic_shape, not_in_shape_flow())
OV_GPU_GET_INSTANCE_CPU(eltwise, shape_types::static_shape, in_shape_flow())
diff --git a/src/plugins/intel_gpu/src/graph/registry/registry.hpp b/src/plugins/intel_gpu/src/graph/registry/registry.hpp
index 8e5fa3c8b2e..9d9e4e85403 100644
--- a/src/plugins/intel_gpu/src/graph/registry/registry.hpp
+++ b/src/plugins/intel_gpu/src/graph/registry/registry.hpp
@@ -18,11 +18,18 @@
#define OV_GPU_WITH_SYCL 0
#endif
+#ifdef OV_GPU_WITH_SYCL_RT
+#define OV_GPU_WITH_OCL 0
+#else
#define OV_GPU_WITH_OCL 1
+#endif
#define OV_GPU_WITH_COMMON 1
#define OV_GPU_WITH_CPU 1
#define OV_GPU_WITH_CM 1
+#ifdef EXPAND
+#undef EXPAND
+#endif
#define COUNT_N(_1, _2, _3, _4, _5, N, ...) N
#define COUNT(...) EXPAND(COUNT_N(__VA_ARGS__, 5, 4, 3, 2, 1))
#define CAT(a, b) a ## b
@@ -60,7 +67,7 @@
# define OV_GPU_CREATE_INSTANCE_ONEDNN(...)
#endif
-#if OV_GPU_WITH_SYCL
+#ifdef OV_GPU_WITH_SYCL_RT
# define OV_GPU_CREATE_INSTANCE_SYCL(...) EXPAND(CREATE_INSTANCE(__VA_ARGS__))
#else
# define OV_GPU_CREATE_INSTANCE_SYCL(...)
diff --git a/src/plugins/intel_gpu/src/kernel_selector/CMakeLists.txt b/src/plugins/intel_gpu/src/kernel_selector/CMakeLists.txt
index 30aac28ede0..3078ac02a44 100644
--- a/src/plugins/intel_gpu/src/kernel_selector/CMakeLists.txt
+++ b/src/plugins/intel_gpu/src/kernel_selector/CMakeLists.txt
@@ -91,6 +91,12 @@ endif()
ov_build_target_faster(${TARGET_NAME} PCH)
+if(GPU_RT_TYPE STREQUAL "SYCL")
+ # Some sources include oneDNN headers that require SYCL backend support.
+ # Without the SYCL compilation flag, the compiler will fail with "Unsupported compiler" error.
+ add_sycl_to_target(TARGET ${TARGET_NAME} SOURCES)
+endif()
+
add_custom_command(
TARGET ${TARGET_NAME} POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/cache/cache.json ${TUNING_CACHE_PATH}/cache.json)
diff --git a/src/plugins/intel_gpu/src/plugin/remote_tensor.cpp b/src/plugins/intel_gpu/src/plugin/remote_tensor.cpp
index c8de7996cf0..c3e7468d054 100644
--- a/src/plugins/intel_gpu/src/plugin/remote_tensor.cpp
+++ b/src/plugins/intel_gpu/src/plugin/remote_tensor.cpp
@@ -320,6 +320,8 @@ void RemoteTensorImpl::allocate() {
// BT_BUF_INTERNAL should map to cl_mem however L0 engine can not allocate cl_mem
if (engine.supports_allocation(cldnn::allocation_type::cl_mem)) {
m_memory_object = engine.allocate_memory(m_layout, cldnn::allocation_type::cl_mem, reset);
+ } else if (engine.supports_allocation(cldnn::allocation_type::sycl_buffer)) {
+ m_memory_object = engine.allocate_memory(m_layout, cldnn::allocation_type::sycl_buffer, reset);
} else {
// Fall back to usm_host and override memory type
GPU_DEBUG_INFO << "[Warning] [GPU] Could not allocate cl_mem, using usm_host allocation instead\n";
diff --git a/src/plugins/intel_gpu/src/runtime/CMakeLists.txt b/src/plugins/intel_gpu/src/runtime/CMakeLists.txt
index c8c872071e4..4221d1bd0e6 100644
--- a/src/plugins/intel_gpu/src/runtime/CMakeLists.txt
+++ b/src/plugins/intel_gpu/src/runtime/CMakeLists.txt
@@ -22,16 +22,24 @@ file(GLOB LIBRARY_SOURCES_ZE
"${CMAKE_CURRENT_SOURCE_DIR}/ze/*.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/ze/compute_runtime/*.h"
)
-file(GLOB_RECURSE SYCL_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/ocl/sycl_*.cpp")
-if(NOT OV_COMPILER_IS_INTEL_LLVM)
- list(REMOVE_ITEM LIBRARY_SOURCES_OCL ${SYCL_SOURCES})
+file(GLOB LIBRARY_SOURCES_SYCL
+ "${CMAKE_CURRENT_SOURCE_DIR}/sycl/*.h"
+ "${CMAKE_CURRENT_SOURCE_DIR}/sycl/*.hpp"
+ "${CMAKE_CURRENT_SOURCE_DIR}/sycl/*.cpp"
+)
+
+file(GLOB_RECURSE OCL_SYCL_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/ocl/sycl_*.[ch]pp")
+
+if(NOT OV_GPU_WITH_SYCL)
+ list(REMOVE_ITEM LIBRARY_SOURCES_OCL ${OCL_SYCL_SOURCES})
endif()
set(LIBRARY_SOURCES_ALL ${LIBRARY_SOURCES_MAIN})
if(GPU_RT_TYPE STREQUAL "OCL")
list(APPEND LIBRARY_SOURCES_ALL ${LIBRARY_SOURCES_OCL})
+ set(SYCL_SOURCES ${OCL_SYCL_SOURCES})
endif()
if(GPU_RT_TYPE STREQUAL "L0")
@@ -39,6 +47,11 @@ if(GPU_RT_TYPE STREQUAL "L0")
list(APPEND LIBRARY_SOURCES_ALL ${LIBRARY_SOURCES_ZE})
endif()
+if(GPU_RT_TYPE STREQUAL "SYCL")
+ list(APPEND LIBRARY_SOURCES_ALL ${LIBRARY_SOURCES_SYCL})
+ set(SYCL_SOURCES ${LIBRARY_SOURCES_SYCL})
+endif()
+
add_library(${TARGET_NAME} STATIC ${LIBRARY_SOURCES_ALL})
if(NOT BUILD_SHARED_LIBS)
@@ -60,7 +73,7 @@ target_compile_options(${TARGET_NAME} PRIVATE
>
>)
-if(OV_COMPILER_IS_INTEL_LLVM)
+if(OV_GPU_WITH_SYCL)
add_sycl_to_target(TARGET ${TARGET_NAME} SOURCES ${SYCL_SOURCES})
target_compile_definitions(${TARGET_NAME} PUBLIC OV_GPU_WITH_SYCL)
endif()
diff --git a/src/plugins/intel_gpu/src/runtime/device_query.cpp b/src/plugins/intel_gpu/src/runtime/device_query.cpp
index 63a24592165..5340d86a26c 100644
--- a/src/plugins/intel_gpu/src/runtime/device_query.cpp
+++ b/src/plugins/intel_gpu/src/runtime/device_query.cpp
@@ -6,6 +6,10 @@
#include "ocl/ocl_device_detector.hpp"
#include "ze/ze_device_detector.hpp"
+#ifdef OV_GPU_WITH_SYCL_RT
+#include "sycl/sycl_device_detector.hpp"
+#endif
+
#include <map>
namespace cldnn {
@@ -17,7 +21,7 @@ engine_types device_query::get_default_engine_type() {
engine_type = engine_types::ze;
#elif defined(OV_GPU_WITH_OCL_RT)
engine_type = engine_types::ocl;
-#elif defined(OV_GPU_WITH_SYCL)
+#elif defined(OV_GPU_WITH_SYCL_RT)
engine_type = engine_types::sycl;
#endif
return engine_type;
@@ -28,6 +32,8 @@ runtime_types device_query::get_default_runtime_type() {
rt_type = runtime_types::ze;
#elif defined(OV_GPU_WITH_OCL_RT)
rt_type = runtime_types::ocl;
+#elif defined(OV_GPU_WITH_SYCL_RT)
+ rt_type = runtime_types::sycl;
#endif
return rt_type;
}
@@ -68,6 +74,14 @@ device_query::device_query(engine_types engine_type,
_available_devices = ze_detector.get_available_devices(user_context, user_device, ctx_device_id, target_tile_id, initialize_devices);
break;
}
+#endif
+#ifdef OV_GPU_WITH_SYCL_RT
+ case runtime_types::sycl: {
+ OPENVINO_ASSERT(engine_type == engine_types::sycl);
+ sycl::sycl_device_detector sycl_detector;
+ _available_devices = sycl_detector.get_available_devices(user_context, user_device, ctx_device_id, target_tile_id);
+ break;
+ }
#endif
default: OPENVINO_THROW("[GPU] Unsupported engine/runtime types in device_query");
}
diff --git a/src/plugins/intel_gpu/src/runtime/engine.cpp b/src/plugins/intel_gpu/src/runtime/engine.cpp
index 16cfb81048a..b6856c6ea76 100644
--- a/src/plugins/intel_gpu/src/runtime/engine.cpp
+++ b/src/plugins/intel_gpu/src/runtime/engine.cpp
@@ -11,6 +11,9 @@
#include "ocl/ocl_engine_factory.hpp"
#include "ze/ze_engine_factory.hpp"
+#ifdef OV_GPU_WITH_SYCL_RT
+#include "sycl/sycl_engine_factory.hpp"
+#endif // OV_GPU_WITH_SYCL_RT
#include <string>
#include <vector>
@@ -258,12 +261,17 @@ bool engine::get_enable_large_allocations() const {
std::shared_ptr<cldnn::engine> engine::create(engine_types engine_type, runtime_types runtime_type, const device::ptr device) {
std::shared_ptr<cldnn::engine> ret;
switch (engine_type) {
+#ifdef OV_GPU_WITH_SYCL_RT
+ case engine_types::sycl:
+ ret = sycl::create_sycl_engine(device, runtime_type);
+ break;
+#endif // OV_GPU_WITH_SYCL_RT
+#ifdef OV_GPU_WITH_OCL_RT
#ifdef OV_GPU_WITH_SYCL
case engine_types::sycl:
ret = ocl::create_sycl_engine(device, runtime_type);
break;
#endif // OV_GPU_WITH_SYCL
-#ifdef OV_GPU_WITH_OCL_RT
case engine_types::ocl:
ret = ocl::create_ocl_engine(device, runtime_type);
break;
diff --git a/src/plugins/intel_gpu/src/runtime/ocl/ocl_engine.hpp b/src/plugins/intel_gpu/src/runtime/ocl/ocl_engine.hpp
index df6c34c11b0..cfa4331cc60 100644
--- a/src/plugins/intel_gpu/src/runtime/ocl/ocl_engine.hpp
+++ b/src/plugins/intel_gpu/src/runtime/ocl/ocl_engine.hpp
@@ -23,6 +23,7 @@ public:
ocl_engine(const device::ptr dev, runtime_types runtime_type);
engine_types type() const override { return engine_types::ocl; };
runtime_types runtime_type() const override { return runtime_types::ocl; };
+ backend_types backend_type() const override { return backend_types::ocl; };
memory_ptr allocate_memory(const layout& layout, allocation_type type, bool reset = true) override;
memory_ptr reinterpret_handle(const layout& new_layout, shared_mem_params params) override;
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_base_event.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_base_event.hpp
new file mode 100644
index 00000000000..7f5b0e50f6a
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_base_event.hpp
@@ -0,0 +1,31 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "sycl_common.hpp"
+#include "intel_gpu/runtime/event.hpp"
+#include "intel_gpu/runtime/utils.hpp"
+
+#include <vector>
+#include <memory>
+#include <list>
+
+namespace cldnn {
+namespace sycl {
+
+struct sycl_base_event : public event {
+public:
+ explicit sycl_base_event(uint64_t queue_stamp = 0) : event(), _queue_stamp(queue_stamp) { }
+ uint64_t get_queue_stamp() const { return _queue_stamp; }
+ virtual ::sycl::event& get() = 0;
+
+protected:
+ uint64_t _queue_stamp = 0;
+};
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_command_queues_builder.cpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_command_queues_builder.cpp
new file mode 100644
index 00000000000..b4cf8eb94dc
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_command_queues_builder.cpp
@@ -0,0 +1,43 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#include "sycl_command_queues_builder.hpp"
+#include "intel_gpu/runtime/debug_configuration.hpp"
+#include <string>
+
+namespace cldnn {
+namespace sycl {
+
+command_queues_builder::command_queues_builder(bool profiling, bool out_of_order)
+ : _profiling(profiling),
+ _out_of_order(out_of_order) {}
+
+::sycl::property_list command_queues_builder::get_properties(const ::sycl::device& device) {
+ bool profiling = _profiling;
+ if (profiling && !device.has(::sycl::aspect::queue_profiling)) {
+ profiling = false;
+ GPU_DEBUG_INFO << "Requested profiling queue is not supported by current device. Use non-profiling instead\n";
+ }
+
+ if (profiling) {
+ return _out_of_order ? ::sycl::property_list{::sycl::property::queue::enable_profiling()} :
+ ::sycl::property_list{::sycl::property::queue::enable_profiling(), ::sycl::property::queue::in_order()};
+ } else {
+ return _out_of_order ? ::sycl::property_list{} :
+ ::sycl::property_list{::sycl::property::queue::in_order()};
+ }
+}
+
+sycl_queue_type command_queues_builder::build(const ::sycl::context& context, const ::sycl::device& device) {
+ auto properties = get_properties(device);
+ try {
+ return ::sycl::queue(context, device, properties);
+ } catch (const ::sycl::exception& e) {
+ OPENVINO_THROW("[GPU] Command queues builder failed to create queue: ", e.what());
+ }
+}
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_command_queues_builder.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_command_queues_builder.hpp
new file mode 100644
index 00000000000..5e6d9a91c8e
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_command_queues_builder.hpp
@@ -0,0 +1,27 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "sycl_common.hpp"
+#include "intel_gpu/runtime/engine.hpp"
+
+namespace cldnn {
+namespace sycl {
+
+class command_queues_builder {
+public:
+ command_queues_builder(bool profiling = false, bool out_of_order = false);
+ sycl_queue_type build(const ::sycl::context& context, const ::sycl::device& device);
+
+private:
+ bool _profiling;
+ bool _out_of_order;
+ ::sycl::property_list get_properties(const ::sycl::device& device);
+};
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_common.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_common.hpp
new file mode 100644
index 00000000000..8c2a0f30698
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_common.hpp
@@ -0,0 +1,41 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "sycl_wrapper.hpp"
+#include "sycl_device_detector.hpp"
+#include "openvino/core/except.hpp"
+
+#include <vector>
+
+namespace cldnn {
+namespace sycl {
+
+using sycl_queue_type = ::sycl::queue;
+using sycl_kernel_type = ::sycl::kernel;
+
+class sycl_error : public ov::Exception {
+public:
+ explicit sycl_error(::sycl::exception const& err);
+};
+
+#define SYCL_ERR_MSG_FMT(error) ("[GPU] " + std::string(error.what()) + std::string(", SYCL error code: ") + std::to_string(error.code().value()))
+
+inline bool is_device_available(const device_info& info) {
+ sycl_device_detector detector;
+ auto devices = detector.get_available_devices(nullptr, nullptr);
+ for (auto& device : devices) {
+ if (device.second->get_info().uuid.uuid == info.uuid.uuid) {
+ return true;
+ }
+ }
+
+ return false;
+}
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_device.cpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_device.cpp
new file mode 100644
index 00000000000..dc5094c5e7b
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_device.cpp
@@ -0,0 +1,365 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+#ifndef NOMINMAX
+# define NOMINMAX
+#endif
+#include "gpu/intel/jit/generator.hpp"
+#endif // ENABLE_ONEDNN_FOR_GPU
+
+#include "sycl_device.hpp"
+#include "sycl_common.hpp"
+#include "intel_gpu/runtime/debug_configuration.hpp"
+
+#include <map>
+#include <string>
+#include <vector>
+#include <algorithm>
+#include <unordered_map>
+#include <string>
+#include <cassert>
+#include <time.h>
+#include <limits>
+#include <chrono>
+#include <fstream>
+#include <iostream>
+#include <utility>
+
+#ifdef _WIN32
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
+#ifndef NOMINMAX
+#define NOMINMAX
+#endif
+#include <windows.h>
+#include <setupapi.h>
+#include <devguid.h>
+#include <cstring>
+#else
+#include <unistd.h>
+#include <limits.h>
+#include <link.h>
+#include <dlfcn.h>
+#endif
+
+#if SYCL_EXT_ONEAPI_MATRIX
+#include <sycl/ext/oneapi/matrix/matrix.hpp>
+#endif // SYCL_EXT_ONEAPI_MATRIX
+
+namespace cldnn {
+namespace sycl {
+
+namespace {
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+gpu_arch convert_ngen_arch(ngen::HW gpu_arch) {
+ switch (gpu_arch) {
+ case ngen::HW::Gen9: return gpu_arch::gen9;
+ case ngen::HW::Gen11: return gpu_arch::gen11;
+ case ngen::HW::XeLP: return gpu_arch::xe_lp;
+ case ngen::HW::XeHP: return gpu_arch::xe_hp;
+ case ngen::HW::XeHPG: return gpu_arch::xe_hpg;
+ case ngen::HW::XeHPC: return gpu_arch::xe_hpc;
+ case ngen::HW::Xe2: return gpu_arch::xe2;
+ case ngen::HW::Xe3: return gpu_arch::xe3;
+ case ngen::HW::Xe3p: return gpu_arch::xe3p;
+ case ngen::HW::Gen10:
+ case ngen::HW::Unknown: return gpu_arch::unknown;
+ }
+ return gpu_arch::unknown;
+}
+#endif
+
+int driver_dev_id() {
+ const std::vector<int> unused_ids = {
+ 0x4905, 0x4906, 0x4907, 0x4908
+ };
+ std::vector<int> result;
+
+#ifdef _WIN32
+ {
+ HDEVINFO device_info_set = SetupDiGetClassDevsA(&GUID_DEVCLASS_DISPLAY, NULL, NULL, DIGCF_PRESENT);
+ if (device_info_set == INVALID_HANDLE_VALUE)
+ return 0;
+
+ SP_DEVINFO_DATA devinfo_data;
+ std::memset(&devinfo_data, 0, sizeof(devinfo_data));
+ devinfo_data.cbSize = sizeof(devinfo_data);
+
+ for (DWORD dev_idx = 0; SetupDiEnumDeviceInfo(device_info_set, dev_idx, &devinfo_data); dev_idx++) {
+ const size_t kBufSize = 512;
+ char buf[kBufSize];
+ if (!SetupDiGetDeviceInstanceIdA(device_info_set, &devinfo_data, buf, kBufSize, NULL)) {
+ continue;
+ }
+
+ char* vendor_pos = std::strstr(buf, "VEN_");
+ if (vendor_pos != NULL && std::stoi(vendor_pos + 4, NULL, 16) == 0x8086) {
+ char* device_pos = strstr(vendor_pos, "DEV_");
+ if (device_pos != NULL) {
+ result.push_back(std::stoi(device_pos + 4, NULL, 16));
+ }
+ }
+ }
+
+ if (device_info_set) {
+ SetupDiDestroyDeviceInfoList(device_info_set);
+ }
+ }
+#elif defined(__linux__)
+ {
+ std::string dev_base{ "/sys/devices/pci0000:00/0000:00:02.0/" };
+ std::ifstream ifs(dev_base + "vendor");
+ if (ifs.good()) {
+ int ven_id;
+ ifs >> std::hex >> ven_id;
+ ifs.close();
+ if (ven_id == 0x8086) {
+ ifs.open(dev_base + "device");
+ if (ifs.good()) {
+ int res = 0;
+ ifs >> std::hex >> res;
+ result.push_back(res);
+ }
+ }
+ }
+ }
+#endif
+
+ auto id_itr = result.begin();
+ while (id_itr != result.end()) {
+ if (std::find(unused_ids.begin(), unused_ids.end(), *id_itr) != unused_ids.end())
+ id_itr = result.erase(id_itr);
+ else
+ id_itr++;
+ }
+
+ if (result.empty())
+ return 0;
+ else
+ return result.back();
+}
+
+device_type get_device_type(const ::sycl::device& device) {
+ OPENVINO_SUPPRESS_DEPRECATED_START
+ auto unified_mem = device.get_info<::sycl::info::device::host_unified_memory>();
+ OPENVINO_SUPPRESS_DEPRECATED_END
+
+ return unified_mem ? device_type::integrated_gpu : device_type::discrete_gpu;
+}
+
+bool get_imad_support(const ::sycl::device& device) {
+ std::string dev_name = device.get_info<::sycl::info::device::name>();
+
+ if (dev_name.find("Gen12") != std::string::npos ||
+ dev_name.find("Xe") != std::string::npos)
+ return true;
+
+ if (get_device_type(device) == device_type::integrated_gpu) {
+ const std::vector<int> imad_ids = {
+ 0x9A40, 0x9A49, 0x9A59, 0x9AD9,
+ 0x9A60, 0x9A68, 0x9A70, 0x9A78,
+ 0x9A7F, 0x9AF8, 0x9AC0, 0x9AC9
+ };
+ int dev_id = driver_dev_id();
+ if (dev_id == 0)
+ return false;
+
+ if (std::find(imad_ids.begin(), imad_ids.end(), dev_id) != imad_ids.end())
+ return true;
+ } else {
+ return true;
+ }
+
+ return false;
+}
+
+device_info init_device_info(const ::sycl::device& device, const ::sycl::context& context) {
+ device_info info = {};
+ info.vendor_id = device.get_info<::sycl::info::device::vendor_id>();
+ info.dev_name = device.get_info<::sycl::info::device::name>();
+ info.driver_version = device.get_info<::sycl::info::device::driver_version>();
+ info.dev_type = get_device_type(device);
+
+ info.execution_units_count = device.get_info<::sycl::info::device::max_compute_units>();
+
+ info.gpu_frequency = device.get_info<::sycl::info::device::max_clock_frequency>();
+
+ info.max_work_group_size = static_cast<uint64_t>(device.get_info<::sycl::info::device::max_work_group_size>());
+
+ info.max_local_mem_size = device.get_info<::sycl::info::device::local_mem_size>();
+ info.max_global_mem_size = device.get_info<::sycl::info::device::global_mem_size>();
+ info.max_alloc_mem_size = device.get_info<::sycl::info::device::max_mem_alloc_size>();
+ info.max_global_cache_size = device.get_info<::sycl::info::device::global_mem_cache_size>();
+
+ // Image is not yet supported in this SYCL runtime
+ info.supports_image = false;
+
+ info.supports_intel_planar_yuv = false; // no corresponding aspect in SYCL
+ info.supports_fp16 = device.has(::sycl::aspect::fp16);
+ info.supports_fp64 = device.has(::sycl::aspect::fp64);
+ if (info.supports_fp16) {
+ auto half_fp_config = device.get_info<::sycl::info::device::half_fp_config>();
+ info.supports_fp16_denorms = std::find(half_fp_config.begin(), half_fp_config.end(),
+ ::sycl::info::fp_config::denorm) != half_fp_config.end();
+ } else {
+ info.supports_fp16_denorms = false;
+ }
+
+ info.supports_khr_subgroups = true; // SYCL 2020 requires subgroups support
+ info.supports_intel_subgroups = false; // no corresponding aspect in SYCL
+ info.supports_intel_subgroups_short = false; // no corresponding aspect in SYCL
+ info.supports_intel_subgroups_char = false; // no corresponding aspect in SYCL
+ info.supports_intel_required_subgroup_size = true; // to use sub_group_sizes as SIMD sizes
+
+ info.supports_imad = get_imad_support(device);
+ info.supports_immad = false;
+
+ info.supports_usm = device.has(::sycl::aspect::usm_host_allocations) ||
+ device.has(::sycl::aspect::usm_shared_allocations) ||
+ device.has(::sycl::aspect::usm_device_allocations);
+
+ info.supports_usm = false; // currently USM is disabled for SYCL backend
+
+ info.supports_queue_families = false; // no corresponding aspect in SYCL
+
+ if (info.supports_intel_required_subgroup_size) {
+ info.supported_simd_sizes = device.get_info<::sycl::info::device::sub_group_sizes>();
+ } else {
+ // Set these values as reasonable default for most of the supported platforms
+ info.supported_simd_sizes = {8, 16, 32};
+ }
+
+ bool device_uuid_supported = device.has(::sycl::aspect::ext_intel_device_info_uuid);
+ if (device_uuid_supported) {
+ auto uuid = device.get_info<::sycl::ext::intel::info::device::uuid>();
+ static_assert(uuid.size() == ov::device::UUID::MAX_UUID_SIZE, "");
+ info.uuid.uuid = uuid;
+ } else {
+ std::fill_n(std::begin(info.uuid.uuid), ov::device::UUID::MAX_UUID_SIZE, 0);
+ }
+
+ // sycl::aspect::ext_intel_device_info_luid is described in
+ // https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_intel_device_info.md
+ // DPC++ 6.2.0 and later will support this aspect.
+ // if (device.has(::sycl::aspect::ext_intel_device_info_luid)) {
+ // auto luid = device.get_info<::sycl::ext::intel::info::device::luid>();
+ // static_assert(luid.size() == ov::device::LUID::MAX_LUID_SIZE, "");
+ // info.luid.luid = luid;
+ // } else {
+ std::fill_n(std::begin(info.luid.luid), ov::device::LUID::MAX_LUID_SIZE, 0);
+ // }
+
+ info.has_separate_cache = false;
+ if (info.vendor_id == INTEL_VENDOR_ID) {
+ info.ip_version = 0; // no corresponding info in SYCL
+ info.gfx_ver = {0, 0, 0}; // no corresponding info in SYCL
+ if (device.has(::sycl::aspect::ext_intel_device_id)) {
+ info.device_id = device.get_info<::sycl::ext::intel::info::device::device_id>();
+ }
+ if (device.has(::sycl::aspect::ext_intel_gpu_slices)) {
+ info.num_slices = device.get_info<::sycl::ext::intel::info::device::gpu_slices>();
+ }
+ if (device.has(::sycl::aspect::ext_intel_gpu_subslices_per_slice)) {
+ info.num_sub_slices_per_slice = device.get_info<::sycl::ext::intel::info::device::gpu_subslices_per_slice>();
+ }
+ if (device.has(::sycl::aspect::ext_intel_gpu_eu_count_per_subslice)) {
+ info.num_eus_per_sub_slice = device.get_info<::sycl::ext::intel::info::device::gpu_eu_count_per_subslice>();
+ }
+ if (device.has(::sycl::aspect::ext_intel_gpu_hw_threads_per_eu)) {
+ info.num_threads_per_eu = device.get_info<::sycl::ext::intel::info::device::gpu_hw_threads_per_eu>();
+ }
+
+#if SYCL_EXT_ONEAPI_MATRIX
+ auto matrix_combinations = device.get_info<::sycl::ext::oneapi::experimental::info::device::matrix_combinations>();
+ info.supports_immad = matrix_combinations.size() > 0;
+#endif // SYCL_EXT_ONEAPI_MATRIX
+ info.has_separate_cache = false; // no corresponding info in SYCL
+ } else if (info.vendor_id == NVIDIA_VENDOR_ID) {
+ info.gfx_ver = {0, 0, 0}; // no corresponding info in SYCL
+ } else {
+ info.gfx_ver = {0, 0, 0};
+ info.device_id = driver_dev_id();
+ info.num_slices = 0;
+ info.num_sub_slices_per_slice = 0;
+ info.num_eus_per_sub_slice = 0;
+ info.num_threads_per_eu = 0;
+ }
+
+ info.num_ccs = 1;
+
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+ using namespace dnnl::impl::gpu::intel::jit;
+ ngen::Product product = generator_t<ngen::HW::Unknown>::detectHWInfo(context, device);
+ info.arch = convert_ngen_arch(ngen::getCore(product.family));
+ // We change the value of this flag to avoid OneDNN usage for the platforms unknown to OneDNN
+ // This is required to guarantee some level of forward compatibility for the new HW generations
+ // as OneDNN code generators are not generic and typically requires some updates for the new architectures
+ // Ideally, we shouldn't do that as OCL impls sometimes also check this flag, but in order to avoid that
+ // we need to ensure that graph transformations are not relying on this flag as indicator that onednn will be used
+ if (product.family == ngen::ProductFamily::Unknown) {
+ info.supports_immad = false;
+ }
+#else // ENABLE_ONEDNN_FOR_GPU
+ info.arch = gpu_arch::unknown;
+#endif // ENABLE_ONEDNN_FOR_GPU
+
+ return info;
+}
+
+memory_capabilities init_memory_caps(const ::sycl::device& device, const device_info& info) {
+ std::vector<allocation_type> memory_caps;
+ memory_caps.push_back(allocation_type::sycl_buffer);
+ if (info.supports_usm) {
+ if (device.has(::sycl::aspect::usm_host_allocations)) {
+ memory_caps.push_back(allocation_type::usm_host);
+ }
+ if (device.has(::sycl::aspect::usm_shared_allocations)) {
+ memory_caps.push_back(allocation_type::usm_shared);
+ }
+ if (device.has(::sycl::aspect::usm_device_allocations)) {
+ memory_caps.push_back(allocation_type::usm_device);
+ }
+ }
+
+ return memory_capabilities(memory_caps);
+}
+
+} // namespace
+
+
+sycl_device::sycl_device(const ::sycl::device dev, const ::sycl::context& ctx, const ::sycl::platform& platform)
+: _context(ctx)
+, _device(dev)
+, _platform(platform)
+, _info(init_device_info(dev, ctx))
+, _mem_caps(init_memory_caps(dev, _info))
+, _is_initialized(true){
+// , _usm_helper(new cl::UsmHelper(_context, _device, use_unified_shared_memory()))
+}
+
+bool sycl_device::is_same(const device::ptr other) {
+ auto casted = downcast<sycl_device>(other.get());
+ if (!casted)
+ return false;
+
+ return _device == casted->get_device() && _platform == casted->get_platform();
+}
+
+void sycl_device::set_mem_caps(const memory_capabilities& memory_capabilities) {
+ _mem_caps = memory_capabilities;
+}
+
+void sycl_device::initialize() {
+ if (_is_initialized)
+ return;
+}
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_device.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_device.hpp
new file mode 100644
index 00000000000..3e63b6ebbb7
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_device.hpp
@@ -0,0 +1,45 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "intel_gpu/runtime/device.hpp"
+#include "sycl_common.hpp"
+
+namespace cldnn {
+namespace sycl {
+
+struct sycl_device : public device {
+public:
+ sycl_device(const ::sycl::device dev, const ::sycl::context& ctx, const ::sycl::platform& platform);
+
+ const device_info& get_info() const override { return _info; }
+ memory_capabilities get_mem_caps() const override { return _mem_caps; }
+
+ void initialize() override;
+ bool is_initialized() const override { return _is_initialized; };
+
+ const ::sycl::device& get_device() const { return _device; }
+ const ::sycl::context& get_context() const { return _context; }
+ const ::sycl::platform& get_platform() const { return _platform; }
+
+ bool is_same(const device::ptr other) override;
+
+ void set_mem_caps(const memory_capabilities& memory_capabilities) override;
+
+ ~sycl_device() = default;
+
+private:
+ ::sycl::context _context;
+ ::sycl::device _device;
+ ::sycl::platform _platform;
+ device_info _info;
+ memory_capabilities _mem_caps;
+ bool _is_initialized = false;
+};
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_device_detector.cpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_device_detector.cpp
new file mode 100644
index 00000000000..528e0116f66
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_device_detector.cpp
@@ -0,0 +1,150 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#include "sycl_device_detector.hpp"
+#include "intel_gpu/runtime/debug_configuration.hpp"
+#include "sycl_device.hpp"
+#include "sycl_common.hpp"
+
+#include <string>
+#include <vector>
+
+// NOTE: Due to buggy scope transition of warnings we need to disable warning in place of use/instantation
+// of some types (even though we already disabled them in scope of definition of these types).
+// Moreover this warning is pretty much now only for annoyance: it is generated due to lack
+// of proper support for mangling of custom GCC attributes into type name (usually when used
+// with templates, even from standard library).
+#if defined __GNUC__ && __GNUC__ >= 6
+#pragma GCC diagnostic ignored "-Wignored-attributes"
+#endif
+
+namespace {
+bool does_device_match_config(const ::sycl::device& device) {
+ if (!device.is_gpu()) {
+ return false;
+ }
+
+ return true;
+}
+} // namespace
+
+namespace cldnn {
+namespace sycl {
+
+static std::vector<::sycl::device> getSubDevices(const ::sycl::device& rootDevice) {
+ uint32_t maxSubDevices = rootDevice.get_info<::sycl::info::device::partition_max_sub_devices>();
+ if (maxSubDevices == 0) {
+ return {};
+ }
+
+ const auto partitionProperties = rootDevice.get_info<::sycl::info::device::partition_properties>();
+ const auto partitionable = std::any_of(partitionProperties.begin(), partitionProperties.end(),
+ [](const decltype(partitionProperties)::value_type& prop) {
+ return prop == ::sycl::info::partition_property::partition_by_affinity_domain;
+ });
+
+ if (!partitionable) {
+ return {};
+ }
+
+ const auto partitionAffinityDomains = rootDevice.get_info<::sycl::info::device::partition_affinity_domains>();
+
+ if (std::find(partitionAffinityDomains.begin(), partitionAffinityDomains.end(),
+ ::sycl::info::partition_affinity_domain::numa) == partitionAffinityDomains.end() ||
+ std::find(partitionAffinityDomains.begin(), partitionAffinityDomains.end(),
+ ::sycl::info::partition_affinity_domain::next_partitionable) == partitionAffinityDomains.end()) {
+ return {};
+ }
+
+ auto subDevices = rootDevice.create_sub_devices<::sycl::info::partition_property::partition_by_affinity_domain>
+ (::sycl::info::partition_affinity_domain::numa);
+
+ return subDevices;
+}
+
+std::map<std::string, device::ptr> sycl_device_detector::get_available_devices(void* user_context,
+ void* user_device,
+ int ctx_device_id,
+ int target_tile_id) const {
+ std::vector<device::ptr> devices_list;
+ if (user_context != nullptr) {
+ devices_list = create_device_list_from_user_context(user_context, ctx_device_id);
+ } else if (user_device != nullptr) {
+ devices_list = create_device_list_from_user_device(user_device);
+ } else {
+ devices_list = create_device_list();
+ }
+
+ devices_list = sort_devices(devices_list);
+
+ std::map<std::string, device::ptr> ret;
+ uint32_t idx = 0;
+ for (auto& dptr : devices_list) {
+ auto map_id = std::to_string(idx++);
+ ret[map_id] = dptr;
+
+ auto root_device = std::dynamic_pointer_cast<sycl_device>(dptr);
+ OPENVINO_ASSERT(root_device != nullptr, "[GPU] Invalid device type created in sycl_device_detector");
+
+ auto sub_devices = getSubDevices(root_device->get_device());
+ if (!sub_devices.empty()) {
+ uint32_t sub_idx = 0;
+ for (auto& sub_device : sub_devices) {
+ if (target_tile_id != -1 && static_cast<int>(sub_idx) != target_tile_id) {
+ sub_idx++;
+ continue;
+ }
+ auto sub_device_ptr = std::make_shared<sycl_device>(sub_device, ::sycl::context(sub_device), root_device->get_platform());
+ ret[map_id + "." + std::to_string(sub_idx++)] = sub_device_ptr;
+ }
+ }
+ }
+ return ret;
+}
+
+std::vector<device::ptr> sycl_device_detector::create_device_list() const {
+ auto platforms = ::sycl::platform::get_platforms();
+
+ std::vector<device::ptr> supported_devices;
+ for (auto& platform : platforms) {
+ try {
+ auto devices = platform.get_devices();
+ for (auto& device : devices) {
+ if (!does_device_match_config(device))
+ continue;
+ supported_devices.emplace_back(std::make_shared<sycl_device>(device, ::sycl::context(device), platform));
+ }
+ } catch (std::exception& ex) {
+ GPU_DEBUG_LOG << "Devices query/creation failed for " << platform.get_info<::sycl::info::platform::name>() << ": " << ex.what() << std::endl;
+ GPU_DEBUG_LOG << "Platform is skipped" << std::endl;
+ continue;
+ }
+ }
+ return supported_devices;
+}
+
+std::vector<device::ptr> sycl_device_detector::create_device_list_from_user_context(void* user_context, int ctx_device_id) const {
+ auto& ctx = *(static_cast<::sycl::context*>(user_context));
+ auto all_devices = ctx.get_devices();
+
+ std::vector<device::ptr> supported_devices;
+ for (size_t i = 0; i < all_devices.size(); i++) {
+ auto& device = all_devices[i];
+ if (!does_device_match_config(device) || static_cast<int>(i) != ctx_device_id)
+ continue;
+ supported_devices.emplace_back(std::make_shared<sycl_device>(device, ctx, device.get_platform()));
+ }
+
+ OPENVINO_ASSERT(!supported_devices.empty(), "[GPU] User defined context does not have supported GPU device.");
+ return supported_devices;
+}
+
+std::vector<device::ptr> sycl_device_detector::create_device_list_from_user_device(void* user_device) const {
+ OPENVINO_THROW("[GPU] User specified device is not supported for SYCL runtime.");
+}
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_device_detector.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_device_detector.hpp
new file mode 100644
index 00000000000..125bde38817
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_device_detector.hpp
@@ -0,0 +1,33 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "intel_gpu/runtime/device.hpp"
+
+#include <list>
+#include <string>
+#include <utility>
+#include <vector>
+#include <map>
+
+namespace cldnn {
+namespace sycl {
+
+class sycl_device_detector {
+public:
+ sycl_device_detector() = default;
+
+ std::map<std::string, device::ptr> get_available_devices(void *user_context, void *user_device, int ctx_device_id = 0, int target_tile_id = -1) const;
+
+private:
+ std::vector<device::ptr> create_device_list() const;
+ std::vector<device::ptr> create_device_list_from_user_context(void* user_context, int ctx_device_id = 0) const;
+ std::vector<device::ptr> create_device_list_from_user_device(void* user_device) const;
+};
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_engine.cpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_engine.cpp
new file mode 100644
index 00000000000..bf5650d0c0b
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_engine.cpp
@@ -0,0 +1,236 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#include "sycl_engine.hpp"
+#include "intel_gpu/runtime/utils.hpp"
+#include "sycl_kernel.hpp"
+#include "sycl_common.hpp"
+#include "sycl_memory.hpp"
+#include "sycl_stream.hpp"
+#include "sycl_engine_factory.hpp"
+#include <string>
+#include <vector>
+#include <memory>
+#include <set>
+#include <stdexcept>
+
+// NOTE: Due to buggy scope transition of warnings we need to disable warning in place of use/instantation
+// of some types (even though we already disabled them in scope of definition of these types).
+// Moreover this warning is pretty much now only for annoyance: it is generated due to lack
+// of proper support for mangling of custom GCC attributes into type name (usually when used
+// with templates, even from standard library).
+#if defined __GNUC__ && __GNUC__ >= 6
+#pragma GCC diagnostic ignored "-Wignored-attributes"
+#endif
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+#include <oneapi/dnnl/dnnl_sycl.hpp>
+#include "intel_gpu/runtime/file_util.hpp"
+#endif
+
+namespace cldnn {
+namespace sycl {
+
+sycl_engine::sycl_engine(const device::ptr dev, runtime_types runtime_type)
+ : engine(dev) {
+ OPENVINO_ASSERT(runtime_type == runtime_types::sycl, "[GPU] Invalid runtime type specified for SYCL engine. Only SYCL runtime is supported");
+
+ _service_stream = std::make_unique<sycl_stream>(*this, ExecutionConfig());
+}
+
+backend_types sycl_engine::backend_type() const {
+ auto backend = get_sycl_device().get_backend();
+ switch (backend) {
+ case ::sycl::backend::opencl: return backend_types::ocl;
+ case ::sycl::backend::ext_oneapi_hip: return backend_types::hip;
+ case ::sycl::backend::ext_oneapi_cuda: return backend_types::cuda;
+ case ::sycl::backend::ext_oneapi_level_zero: return backend_types::ze;
+ default:
+ OPENVINO_THROW("[GPU] Unsupported SYCL backend type: ", backend);
+ }
+}
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+void sycl_engine::create_onednn_engine(const ExecutionConfig& config) {
+ const std::lock_guard<std::mutex> lock(onednn_mutex);
+ OPENVINO_ASSERT(_device->get_info().vendor_id == INTEL_VENDOR_ID, "[GPU] OneDNN engine can be used for Intel GPUs only");
+ if (!_onednn_engine) {
+ auto casted = std::dynamic_pointer_cast<sycl_device>(_device);
+ OPENVINO_ASSERT(casted, "[GPU] Invalid device type stored in sycl_engine");
+
+ _onednn_engine = std::make_shared<dnnl::engine>(dnnl::sycl_interop::make_engine(casted->get_device(), casted->get_context()));
+ }
+}
+
+#endif
+
+const ::sycl::context& sycl_engine::get_sycl_context() const {
+ auto sycl_device = std::dynamic_pointer_cast<sycl::sycl_device>(_device);
+ OPENVINO_ASSERT(sycl_device, "[GPU] Invalid device type for sycl_engine");
+ return sycl_device->get_context();
+}
+
+const ::sycl::device& sycl_engine::get_sycl_device() const {
+ auto sycl_device = std::dynamic_pointer_cast<sycl::sycl_device>(_device);
+ OPENVINO_ASSERT(sycl_device, "[GPU] Invalid device type for sycl_engine");
+ return sycl_device->get_device();
+}
+
+// const ::sycl::UsmHelper& sycl_engine::get_usm_helper() const {
+// auto sycl_device = std::dynamic_pointer_cast<sycl::sycl_device>(_device);
+// OPENVINO_ASSERT(sycl_device, "[GPU] Invalid device type for sycl_engine");
+// return sycl_device->get_usm_helper();
+// }
+
+allocation_type sycl_engine::detect_usm_allocation_type(const void* memory) const {
+ if (use_unified_shared_memory()) {
+ OPENVINO_NOT_IMPLEMENTED;
+ // TODO: implement
+ //::sycl::gpu_usm::detect_allocation_type(this, memory);
+ } else {
+ return allocation_type::unknown;
+ }
+}
+
+memory::ptr sycl_engine::allocate_memory(const layout& layout, allocation_type type, bool reset) {
+ OPENVINO_ASSERT(!layout.is_dynamic() || layout.has_upper_bound(), "[GPU] Can't allocate memory for dynamic layout");
+
+ check_allocatable(layout, type);
+
+ try {
+ memory::ptr res = nullptr;
+ if (layout.format.is_image_2d()) {
+ OPENVINO_NOT_IMPLEMENTED;
+ //res = std::make_shared<sycl::gpu_image2d>(this, layout);
+ } else if (type == allocation_type::sycl_buffer) {
+ res = std::make_shared<sycl::gpu_buffer>(this, layout);
+ } else if (type == allocation_type::cl_mem) {
+ OPENVINO_THROW("[GPU] SYCL engine does not support allocation_type::cl_mem");
+ } else {
+ OPENVINO_NOT_IMPLEMENTED;
+ // res = std::make_shared<sycl::gpu_usm>(this, layout, type);
+ }
+
+ if (reset || res->is_memory_reset_needed(layout)) {
+ auto ev = res->fill(get_service_stream());
+ if (ev) {
+ get_service_stream().wait_for_events({ev});
+ }
+ }
+
+ return res;
+ } catch (const ::sycl::exception& e) {
+ OPENVINO_THROW("[GPU] SYCL memory allocation failed: ", e.what());
+ }
+}
+
+memory::ptr sycl_engine::create_subbuffer(const memory& memory, const layout& new_layout, size_t byte_offset) {
+ OPENVINO_ASSERT(memory.get_engine() == this, "[GPU] trying to create a subbuffer from a buffer allocated by a different engine");
+ try {
+ if (new_layout.format.is_image_2d()) {
+ OPENVINO_NOT_IMPLEMENTED;
+ } else if (memory_capabilities::is_usm_type(memory.get_allocation_type())) {
+ OPENVINO_NOT_IMPLEMENTED;
+ } else {
+ return downcast<const sycl::gpu_buffer>(memory).create_subbuffer(new_layout, byte_offset);
+ }
+ } catch (const ::sycl::exception& e) {
+ OPENVINO_THROW("[GPU] SYCL subbuffer creation failed: ", e.what());
+ }
+}
+memory::ptr sycl_engine::reinterpret_buffer(const memory& memory, const layout& new_layout) {
+ OPENVINO_ASSERT(memory.get_engine() == this, "[GPU] trying to reinterpret buffer allocated by a different engine");
+ OPENVINO_ASSERT(new_layout.format.is_image() == memory.get_layout().format.is_image(),
+ "[GPU] trying to reinterpret between image and non-image layouts. Current: ",
+ memory.get_layout().format.to_string(), " Target: ", new_layout.format.to_string());
+
+ try {
+ if (new_layout.format.is_image_2d()) {
+ OPENVINO_NOT_IMPLEMENTED;
+ } else if (memory_capabilities::is_usm_type(memory.get_allocation_type())) {
+ OPENVINO_NOT_IMPLEMENTED;
+ } else {
+ return downcast<const sycl::gpu_buffer>(memory).reinterpret(new_layout);
+ }
+ } catch (const ::sycl::exception& e) {
+ OPENVINO_THROW("[GPU] SYCL buffer reinterpretation failed: ", e.what());
+ }
+}
+
+memory::ptr sycl_engine::reinterpret_handle(const layout& new_layout, shared_mem_params params) {
+ try {
+ if (new_layout.format.is_image_2d() && params.mem_type == shared_mem_type::shared_mem_image) {
+ OPENVINO_NOT_IMPLEMENTED;
+ } else if (new_layout.format.is_image_2d() && params.mem_type == shared_mem_type::shared_mem_vasurface) {
+ OPENVINO_THROW("[GPU] SYCL runtime does not support shared_mem_vasurface for image_2d");
+#ifdef _WIN32
+ } else if (params.mem_type == shared_mem_type::shared_mem_dxbuffer) {
+ OPENVINO_THROW("[GPU] SYCL runtime does not support shared_mem_dxbuffer");
+#endif
+ } else if (params.mem_type == shared_mem_type::shared_mem_buffer) {
+ OPENVINO_NOT_IMPLEMENTED;
+ } else if (params.mem_type == shared_mem_type::shared_mem_usm) {
+ OPENVINO_NOT_IMPLEMENTED;
+ } else {
+ OPENVINO_THROW("[GPU] unknown shared object format or type");
+ }
+ } catch (const ::sycl::exception& e) {
+ OPENVINO_THROW("[GPU] SYCL handle reinterpretation failed: ", e.what());
+ }
+}
+
+bool sycl_engine::is_the_same_buffer(const memory& mem1, const memory& mem2) {
+ if (mem1.get_engine() != this || mem2.get_engine() != this)
+ return false;
+ if (mem1.get_allocation_type() != mem2.get_allocation_type())
+ return false;
+ if (&mem1 == &mem2)
+ return true;
+
+ if (!memory_capabilities::is_usm_type(mem1.get_allocation_type())) {
+ return downcast<const sycl::gpu_buffer>(mem1).get_buffer() ==
+ downcast<const sycl::gpu_buffer>(mem2).get_buffer();
+ }
+ else
+ OPENVINO_NOT_IMPLEMENTED;
+ // return (downcast<const sycl::gpu_usm>(mem1).get_buffer() ==
+ // downcast<const sycl::gpu_usm>(mem2).get_buffer());
+}
+
+void* sycl_engine::get_user_context() const {
+ auto& sycl_device = downcast<sycl::sycl_device>(*_device);
+ return const_cast<void*>(static_cast<const void*>(&sycl_device.get_context()));
+}
+
+std::shared_ptr<kernel_builder> sycl_engine::create_kernel_builder() const {
+ auto sycl_device = std::dynamic_pointer_cast<sycl::sycl_device>(_device);
+ OPENVINO_ASSERT(sycl_device, "[GPU] Invalid device type for sycl_engine");
+ OPENVINO_NOT_IMPLEMENTED;
+}
+
+bool sycl_engine::extension_supported(::sycl::aspect extension) const {
+ auto& sycl_device = get_sycl_device();
+ return sycl_device.has(extension);
+}
+
+stream::ptr sycl_engine::create_stream(const ExecutionConfig& config) const {
+ return std::make_shared<sycl_stream>(*this, config);
+}
+
+stream::ptr sycl_engine::create_stream(const ExecutionConfig& config, void* handle) const {
+ return std::make_shared<sycl_stream>(*this, config, handle);
+}
+
+std::shared_ptr<cldnn::engine> sycl_engine::create(const device::ptr device, runtime_types runtime_type) {
+ return std::make_shared<sycl::sycl_engine>(device, runtime_type);
+}
+
+std::shared_ptr<cldnn::engine> create_sycl_engine(const device::ptr device, runtime_types runtime_type) {
+ return sycl_engine::create(device, runtime_type);
+}
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_engine.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_engine.hpp
new file mode 100644
index 00000000000..4ce749ebe16
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_engine.hpp
@@ -0,0 +1,59 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "intel_gpu/runtime/memory.hpp"
+#include "intel_gpu/runtime/engine.hpp"
+#include "intel_gpu/runtime/stream.hpp"
+#include "sycl_device.hpp"
+
+#include <memory>
+#include <set>
+#include <vector>
+#include <utility>
+#include <string>
+
+namespace cldnn {
+namespace sycl {
+
+class sycl_engine : public engine {
+public:
+ sycl_engine(const device::ptr dev, runtime_types runtime_type);
+ engine_types type() const override { return engine_types::sycl; };
+ runtime_types runtime_type() const override { return runtime_types::sycl; };
+ backend_types backend_type() const override;
+
+ memory_ptr allocate_memory(const layout& layout, allocation_type type, bool reset = true) override;
+ memory_ptr reinterpret_handle(const layout& new_layout, shared_mem_params params) override;
+ memory_ptr create_subbuffer(const memory& memory, const layout& new_layout, size_t offset) override;
+ memory_ptr reinterpret_buffer(const memory& memory, const layout& new_layout) override;
+ bool is_the_same_buffer(const memory& mem1, const memory& mem2) override;
+
+ void* get_user_context() const override;
+
+ allocation_type get_default_allocation_type() const override { return allocation_type::sycl_buffer; }
+ allocation_type detect_usm_allocation_type(const void* memory) const override;
+
+ const ::sycl::context& get_sycl_context() const;
+ const ::sycl::device& get_sycl_device() const;
+
+ bool extension_supported(::sycl::aspect extension) const;
+
+ stream_ptr create_stream(const ExecutionConfig& config) const override;
+ stream_ptr create_stream(const ExecutionConfig& config, void *handle) const override;
+
+ std::shared_ptr<kernel_builder> create_kernel_builder() const override;
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+ void create_onednn_engine(const ExecutionConfig& config) override;
+#endif
+
+ static std::shared_ptr<cldnn::engine> create(const device::ptr device, runtime_types runtime_type);
+};
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_engine_factory.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_engine_factory.hpp
new file mode 100644
index 00000000000..dc3c06174ab
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_engine_factory.hpp
@@ -0,0 +1,20 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "intel_gpu/runtime/device.hpp"
+#include "intel_gpu/runtime/engine.hpp"
+#include "intel_gpu/runtime/stream.hpp"
+
+namespace cldnn {
+namespace sycl {
+
+// Factory for sycl_engine creation.
+std::shared_ptr<cldnn::engine> create_sycl_engine(const device::ptr device, runtime_types runtime_type);
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_event.cpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_event.cpp
new file mode 100644
index 00000000000..40fdb864576
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_event.cpp
@@ -0,0 +1,231 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#include "sycl_event.hpp"
+#include "intel_gpu/runtime/debug_configuration.hpp"
+
+#include <cassert>
+#include <iostream>
+#include <vector>
+#include <list>
+#include <map>
+
+using namespace cldnn;
+using namespace cldnn::sycl;
+
+namespace {
+bool is_event_profiled(const ::sycl::queue& queue) {
+ return queue.has_property<::sycl::property::queue::enable_profiling>();
+}
+
+instrumentation::profiling_interval get_profiling_interval(instrumentation::profiling_stage stage, uint64_t start, uint64_t end) {
+ auto diff = std::chrono::nanoseconds(end - start);
+ auto period = std::make_shared<instrumentation::profiling_period_basic>(diff);
+ return { stage, period };
+}
+
+const std::pair<uint64_t, uint64_t> get_profiling_period_value(const ::sycl::event& event, instrumentation::profiling_stage stage) {
+ switch (stage) {
+ case instrumentation::profiling_stage::starting:
+ return std::make_pair(event.get_profiling_info<::sycl::info::event_profiling::command_submit>(),
+ event.get_profiling_info<::sycl::info::event_profiling::command_start>());
+ case instrumentation::profiling_stage::executing:
+ return std::make_pair(event.get_profiling_info<::sycl::info::event_profiling::command_start>(),
+ event.get_profiling_info<::sycl::info::event_profiling::command_end>());
+ default:
+ OPENVINO_THROW("Unsupported profiling stage for SYCL event: ", static_cast<int>(stage));
+ }
+}
+
+} // namespace
+
+namespace cldnn::sycl::utils {
+std::vector<::sycl::event> get_sycl_events(const std::vector<event::ptr>& events) {
+ std::vector<::sycl::event> sycl_events;
+ for (const auto& ev : events) {
+ if (auto sycl_base_ev = dynamic_cast<sycl_base_event*>(ev.get())) {
+ sycl_events.push_back(sycl_base_ev->get());
+ }
+ }
+
+ return sycl_events;
+}
+} // namespace cldnn::sycl::utils
+
+void sycl_event::set_sycl_callback() {
+ if (_callback_set)
+ return;
+
+ try {
+ _queue.submit([this](::sycl::handler& cgh) {
+ cgh.depends_on(_event);
+ cgh.host_task([this]() {
+ this->_set = true;
+ this->call_handlers();
+ });
+ });
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+
+ this->_callback_set = true;
+}
+
+void sycl_event::wait_impl() {
+ try {
+ GPU_DEBUG_TRACE_DETAIL << "sycl_event::wait_impl: waiting for event: " << &_event << std::endl;
+ _event.wait_and_throw();
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+}
+
+void sycl_event::set_impl() {
+ wait_impl();
+}
+
+bool sycl_event::is_set_impl() {
+ try {
+ return _event.get_info<::sycl::info::event::command_execution_status>() == ::sycl::info::event_command_status::complete;
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+ return true;
+}
+
+bool sycl_event::add_event_handler_impl(event_handler, void*) {
+ set_sycl_callback();
+ return true;
+}
+
+static const std::vector<instrumentation::profiling_stage> profiling_stages {
+ // There is no CL_PROFILING_COMMAND_QUEUED in SYCL, so we skip it
+ // instrumentation::profiling_stage::submission,
+ instrumentation::profiling_stage::starting,
+ instrumentation::profiling_stage::executing,
+};
+
+
+bool sycl_event::get_profiling_info_impl(std::list<instrumentation::profiling_interval>& info) {
+ if (!is_event_profiled(_queue))
+ return true;
+
+ for (auto& stage : profiling_stages) {
+ uint64_t start;
+ uint64_t end;
+
+ try {
+ std::tie(start, end) = get_profiling_period_value(_event, stage);
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+
+ info.push_back(get_profiling_interval(stage, start, end));
+ }
+
+ return true;
+}
+
+void sycl_events::wait_impl() {
+ try {
+ _last_sycl_event.wait_and_throw();
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+}
+
+void sycl_events::set_impl() {
+ wait_impl();
+}
+
+bool sycl_events::is_set_impl() {
+ try {
+ return _last_sycl_event.get_info<::sycl::info::event::command_execution_status>() == ::sycl::info::event_command_status::complete;
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+ return true;
+}
+
+bool sycl_events::get_profiling_info_impl(std::list<instrumentation::profiling_interval>& info) {
+ // For every profiling period (i.e. submission / starting / executing),
+ // the goal is to sum up all disjoint durations of its projection on the time axis
+
+ std::map<instrumentation::profiling_stage, std::vector<std::pair<uint64_t, uint64_t>>> all_durations;
+
+ for (size_t i = 0; i < _events.size(); i++) {
+ sycl_event *be = nullptr;
+
+ try {
+ be = downcast<sycl_event>(_events[i].get());
+ } catch (const ov::Exception &err) {
+ GPU_DEBUG_LOG << "WARNING: failed to downcast event to sycl_event - " << err.what() << std::endl;
+ continue;
+ }
+
+ if (!is_event_profiled(be->_queue))
+ continue;
+
+ for (auto& stage : profiling_stages) {
+ std::pair<uint64_t, uint64_t> ev_duration;
+ try {
+ ev_duration = get_profiling_period_value(be->_event, stage);
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+ auto& durations = all_durations[stage];
+ bool ev_duration_merged = false;
+ auto it = durations.begin();
+
+ while (it != durations.end()) {
+ auto& duration = *it;
+ if ((duration.second >= ev_duration.first) && (duration.first <= ev_duration.second)) {
+ if ((duration.first == ev_duration.first) && (duration.second == ev_duration.second)) {
+ if (!ev_duration_merged) {
+ ev_duration_merged = true;
+ break;
+ } else {
+ it = durations.erase(it);
+ }
+ } else {
+ if (!ev_duration_merged) {
+ duration.first = std::min(duration.first, ev_duration.first);
+ duration.second = std::max(duration.second, ev_duration.second);
+ ev_duration = duration;
+ ev_duration_merged = true;
+ it++;
+ } else {
+ if (duration.second > ev_duration.second) {
+ ev_duration.second = duration.second;
+ it--;
+ it->second = ev_duration.second;
+ it++;
+ }
+ it = durations.erase(it);
+ }
+ }
+ } else {
+ it++;
+ }
+ }
+
+ if (!ev_duration_merged) {
+ durations.insert(it, ev_duration);
+ }
+ }
+ }
+
+ for (auto& stage : profiling_stages) {
+ uint64_t sum = 0;
+ for (auto& duration : all_durations[stage]) {
+ sum += (duration.second - duration.first);
+ }
+
+ info.push_back(get_profiling_interval(stage, 0, sum));
+ }
+
+ return true;
+}
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_event.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_event.hpp
new file mode 100644
index 00000000000..585ee043257
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_event.hpp
@@ -0,0 +1,100 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "sycl_common.hpp"
+#include "sycl_base_event.hpp"
+
+#include <vector>
+#include <memory>
+#include <list>
+
+namespace cldnn {
+namespace sycl {
+namespace utils {
+std::vector<::sycl::event> get_sycl_events(const std::vector<event::ptr>& events);
+} // namespace utils
+
+struct sycl_event : public sycl_base_event {
+public:
+ sycl_event(::sycl::event const& ev, ::sycl::queue queue, uint64_t queue_stamp = 0)
+ : sycl_base_event(queue_stamp)
+ , _event(ev)
+ , _queue(queue) {}
+
+ ::sycl::event& get() override { return _event; }
+
+private:
+ bool _callback_set = false;
+ void set_sycl_callback();
+ void wait_impl() override;
+ void set_impl() override;
+ bool is_set_impl() override;
+ bool add_event_handler_impl(event_handler, void*) override;
+ bool get_profiling_info_impl(std::list<instrumentation::profiling_interval>& info) override;
+
+ friend struct sycl_events;
+
+protected:
+ ::sycl::event _event;
+ ::sycl::queue _queue;
+};
+
+struct sycl_events : public sycl_base_event {
+public:
+ sycl_events(std::vector<event::ptr> const& ev)
+ : sycl_base_event(0) {
+ process_events(ev);
+ }
+
+ ::sycl::event& get() override { return _last_sycl_event; }
+
+ void reset() override {
+ event::reset();
+ _events.clear();
+ }
+
+private:
+ void wait_impl() override;
+ void set_impl() override;
+ bool is_set_impl() override;
+
+ void process_events(const std::vector<event::ptr>& ev) {
+ for (size_t i = 0; i < ev.size(); i++) {
+ auto multiple_events = dynamic_cast<sycl_events*>(ev[i].get());
+ if (multiple_events) {
+ for (size_t j = 0; j < multiple_events->_events.size(); j++) {
+ if (auto base_ev = dynamic_cast<sycl_event*>(multiple_events->_events[j].get())) {
+ auto current_ev_queue_stamp = base_ev->get_queue_stamp();
+ if ((_queue_stamp == 0) || (current_ev_queue_stamp > _queue_stamp)) {
+ _queue_stamp = current_ev_queue_stamp;
+ _last_sycl_event = base_ev->get();
+ }
+ }
+ _events.push_back(multiple_events->_events[j]);
+ }
+ } else {
+ if (auto base_ev = dynamic_cast<sycl_event*>(ev[i].get())) {
+ auto current_ev_queue_stamp = base_ev->get_queue_stamp();
+ if ((_queue_stamp == 0) || (current_ev_queue_stamp > _queue_stamp)) {
+ _queue_stamp = current_ev_queue_stamp;
+ _last_sycl_event = base_ev->get();
+ }
+ }
+ _events.push_back(ev[i]);
+ }
+ }
+ }
+
+ bool get_profiling_info_impl(std::list<instrumentation::profiling_interval>& info) override;
+
+ ::sycl::event _last_sycl_event;
+ std::vector<event::ptr> _events;
+};
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_kernel.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_kernel.hpp
new file mode 100644
index 00000000000..2046d6ac85b
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_kernel.hpp
@@ -0,0 +1,56 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "sycl_common.hpp"
+#include "sycl_memory.hpp"
+#include "intel_gpu/runtime/kernel_args.hpp"
+#include "intel_gpu/runtime/kernel.hpp"
+
+#include <memory>
+#include <vector>
+
+namespace cldnn {
+namespace sycl {
+
+class sycl_kernel : public kernel {
+ sycl_kernel_type _compiled_kernel;
+ std::string _kernel_id;
+
+public:
+ sycl_kernel(sycl_kernel_type compiled_kernel, const std::string& kernel_id)
+ : _compiled_kernel(compiled_kernel)
+ , _kernel_id(kernel_id) { }
+
+ std::string get_id() const override { return _kernel_id; }
+ const sycl_kernel_type& get_handle() const { return _compiled_kernel; }
+ sycl_kernel_type& get_handle() { return _compiled_kernel; }
+ std::shared_ptr<kernel> clone(bool reuse_kernel_handle = false) const override {
+ if (reuse_kernel_handle)
+ return std::make_shared<sycl_kernel>(get_handle(), _kernel_id);
+
+ OPENVINO_THROW("SYCL kernel cloning with reuse_kernel_handle=false is not supported.");
+ }
+ bool is_same(const kernel &other) const override {
+ auto other_ptr = dynamic_cast<const sycl_kernel*>(&other);
+ if (other_ptr == nullptr) {
+ return false;
+ }
+ return get_handle() == other_ptr->get_handle();
+ }
+
+ std::vector<uint8_t> get_binary() const override {
+ OPENVINO_NOT_IMPLEMENTED;
+ }
+
+ std::string get_build_log() const override {
+ OPENVINO_NOT_IMPLEMENTED;
+ }
+};
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_memory.cpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_memory.cpp
new file mode 100644
index 00000000000..54a03d889ea
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_memory.cpp
@@ -0,0 +1,323 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#include "intel_gpu/runtime/debug_configuration.hpp"
+#include "intel_gpu/runtime/error_handler.hpp"
+#include "intel_gpu/runtime/memory.hpp"
+#include "intel_gpu/runtime/utils.hpp"
+#include "runtime_common.hpp"
+#include "sycl_memory.hpp"
+#include "sycl_engine.hpp"
+#include "sycl_stream.hpp"
+#include "sycl_event.hpp"
+#include <stdexcept>
+#include <vector>
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+#include <oneapi/dnnl/dnnl_sycl.hpp>
+#endif
+
+namespace cldnn {
+namespace sycl {
+
+static inline cldnn::event::ptr create_event(sycl_stream& stream, ::sycl::event& ev) {
+ return stream.create_base_event(ev);
+}
+
+gpu_buffer::gpu_buffer(sycl_engine* engine,
+ const layout& layout)
+ : lockable_gpu_mem(), memory(engine, layout, allocation_type::sycl_buffer, nullptr)
+ , _byte_offset(0), _root_buffer(::sycl::range<1>(size())), _buffer(_root_buffer) {
+ GPU_DEBUG_TRACE_DETAIL << "gpu_buffer: " << &_buffer << ", size: " << size() << std::endl;
+
+ // TODO: remove this if possible
+ // Make write accessor to ensure the buffer is created on the device
+ try {
+ auto q = ::sycl::queue(engine->get_sycl_context(), engine->get_sycl_device());
+
+ q.submit([&](::sycl::handler& cgh) {
+ _buffer.get_access<::sycl::access::mode::write>(cgh);
+ });
+ q.wait_and_throw();
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+
+ if (engine->get_sycl_context().get_backend() == ::sycl::backend::opencl) {
+ std::vector<cl_mem> cl_bufs = ::sycl::get_native<::sycl::backend::opencl>(_buffer);
+ OPENVINO_ASSERT(cl_bufs.size() == 1, "Expected single OpenCL buffer handle from SYCL buffer");
+ }
+
+ m_mem_tracker = std::make_shared<MemoryTracker>(engine, static_cast<void*>(&_buffer),
+ layout.bytes_count(), allocation_type::sycl_buffer);
+}
+
+gpu_buffer::gpu_buffer(sycl_engine* engine,
+ const layout& new_layout,
+ const ::sycl::buffer<std::byte, 1>& root_buffer,
+ std::shared_ptr<MemoryTracker> mem_tracker)
+ : lockable_gpu_mem(), memory(engine, new_layout, allocation_type::sycl_buffer, mem_tracker)
+ , _byte_offset(0), _root_buffer(root_buffer), _buffer(root_buffer) {
+ GPU_DEBUG_TRACE_DETAIL << "create gpu_buffer(buffer: " << &_buffer << ", size: " << size()
+ << ", offset: " << _byte_offset << ", root_buffer: " << &_root_buffer << std::endl;
+}
+
+gpu_buffer::gpu_buffer(sycl_engine* engine,
+ const layout& new_layout,
+ const size_t byte_offset,
+ const ::sycl::buffer<std::byte, 1>& root_buffer,
+ std::shared_ptr<MemoryTracker> mem_tracker)
+ : lockable_gpu_mem(), memory(engine, new_layout, allocation_type::sycl_buffer, mem_tracker)
+ , _byte_offset(byte_offset), _root_buffer(root_buffer)
+ , _buffer(const_cast<::sycl::buffer<std::byte, 1>&>(root_buffer), ::sycl::id<1>(byte_offset), ::sycl::range<1>(new_layout.bytes_count())) {
+ GPU_DEBUG_TRACE_DETAIL << "create gpu_buffer(buffer: " << &_buffer << ", size: " << size()
+ << ", offset: " << _byte_offset << ", root_buffer: " << &_root_buffer << std::endl;
+}
+
+void* gpu_buffer::lock(const stream& stream, mem_lock_type type) {
+ std::lock_guard<std::mutex> locker(_mutex);
+ if (0 == _lock_count) {
+ try {
+ switch (type) {
+ case mem_lock_type::read: {
+ auto accessor = std::make_unique<read_host_accessor>(_buffer, ::sycl::read_only);
+ _mapped_ptr = const_cast<void*>(static_cast<const void*>(accessor->get_pointer()));
+ _host_accessor = std::move(accessor);
+ break;
+ }
+ case mem_lock_type::write: {
+ auto accessor = std::make_unique<write_host_accessor>(_buffer, ::sycl::write_only);
+ _mapped_ptr = static_cast<void*>(accessor->get_pointer());
+ _host_accessor = std::move(accessor);
+ break;
+ }
+ case mem_lock_type::read_write: {
+ auto accessor = std::make_unique<read_write_host_accessor>(_buffer, ::sycl::read_write);
+ _mapped_ptr = static_cast<void*>(accessor->get_pointer());
+ _host_accessor = std::move(accessor);
+ break;
+ }
+ default:
+ OPENVINO_THROW("[GPU] Unsupported mem_lock_type for SYCL buffer lock");
+ }
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+ }
+ _lock_count++;
+ return _mapped_ptr;
+}
+
+void gpu_buffer::unlock(const stream& stream) {
+ std::lock_guard<std::mutex> locker(_mutex);
+ if (0 == _lock_count) {
+ OPENVINO_THROW("[GPU] Trying to unlock an already unlocked buffer");
+ }
+ _lock_count--;
+ if (0 == _lock_count) {
+ try {
+ _host_accessor = std::monostate{}; // Release the host accessor
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+ _mapped_ptr = nullptr;
+ }
+}
+
+event::ptr gpu_buffer::fill(stream& stream, const std::vector<event::ptr>& dep_events, bool blocking) {
+ return fill(stream, 0, dep_events, blocking);
+}
+
+event::ptr gpu_buffer::fill(stream& stream, unsigned char pattern, const std::vector<event::ptr>& dep_events, bool blocking) {
+ if (_bytes_count == 0) {
+ GPU_DEBUG_TRACE_DETAIL << "Skip EnqueueMemcpy for 0 size tensor" << std::endl;
+ return nullptr;
+ }
+ auto& sycl_stream = downcast<sycl::sycl_stream>(stream);
+ try {
+ auto sycl_dep_events = utils::get_sycl_events(dep_events);
+ auto ev = sycl_stream.get_sycl_queue().submit([&](::sycl::handler& cgh) {
+ if (!sycl_dep_events.empty()) {
+ cgh.depends_on(sycl_dep_events);
+ }
+ auto acc = _buffer.get_access<::sycl::access::mode::write>(cgh);
+ cgh.fill(acc, static_cast<std::byte>(pattern));
+ });
+
+ if (blocking) {
+ ev.wait_and_throw();
+ return nullptr;
+ } else {
+ return create_event(sycl_stream, ev);
+ }
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+}
+
+shared_mem_params gpu_buffer::get_internal_params() const {
+ auto sycl_engine = downcast<const sycl::sycl_engine>(_engine);
+ return {shared_mem_type::shared_mem_buffer, const_cast<shared_handle>(static_cast<const void*>(&(sycl_engine->get_sycl_context()))), nullptr,
+ const_cast<shared_handle>(static_cast<const void*>(&_buffer)),
+#ifdef _WIN32
+ nullptr,
+#else
+ 0,
+#endif
+ 0};
+}
+
+event::ptr gpu_buffer::copy_from(stream& stream, const void* data_ptr, size_t src_offset, size_t dst_offset, size_t size, bool blocking) {
+ if (size == 0)
+ return nullptr;
+
+ check_boundaries(SIZE_MAX, src_offset, _bytes_count, dst_offset, size, "gpu_buffer::copy_from(void*)");
+
+ auto& sycl_stream = downcast<sycl::sycl_stream>(stream);
+ auto src_ptr = static_cast<const char*>(data_ptr) + src_offset;
+
+ try {
+ auto event = sycl_stream.get_sycl_queue().submit([&](::sycl::handler& cgh) {
+ ::sycl::accessor<std::byte, 1, ::sycl::access::mode::write> dst_acc(_buffer, cgh, ::sycl::range<1>(size), ::sycl::id<1>(dst_offset));
+ cgh.copy(src_ptr, dst_acc);
+ });
+ if (blocking) {
+ event.wait_and_throw();
+ return nullptr;
+ } else {
+ return create_event(sycl_stream, event);
+ }
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+}
+
+event::ptr gpu_buffer::copy_from(stream& stream, const memory& src_mem, size_t src_offset, size_t dst_offset, size_t size, bool blocking) {
+ if (size == 0)
+ return nullptr;
+
+ check_boundaries(src_mem.size(), src_offset, _bytes_count, dst_offset, size, "gpu_buffer::copy_from(memory&)");
+
+ switch (src_mem.get_allocation_type()) {
+ case allocation_type::usm_host:
+ case allocation_type::usm_shared:
+ case allocation_type::usm_device: {
+ // If other is gpu_usm, down cast to gpu_buffer is not possible.
+ // But it can read as host ptr if it's allocation type is either usm_host or usm_shared.
+ OPENVINO_NOT_IMPLEMENTED;
+ // TODO: implement
+ //auto usm_mem = downcast<const gpu_usm>(&src_mem);
+ //return copy_from(stream, usm_mem->buffer_ptr(), src_offset, dst_offset, size, blocking);
+ } break;
+ case allocation_type::sycl_buffer: {
+ OPENVINO_ASSERT(!src_mem.get_layout().format.is_image_2d());
+
+ auto& sycl_stream = downcast<sycl::sycl_stream>(stream);
+ // const qualifier should be removed to construct ::sycl::accessor
+ auto& src_buffer = const_cast<::sycl::buffer<std::byte, 1>&>(downcast<const gpu_buffer>(src_mem).get_buffer());
+
+ try {
+ auto event = sycl_stream.get_sycl_queue().submit([&](::sycl::handler& cgh) {
+ ::sycl::accessor<std::byte, 1, ::sycl::access::mode::read> src_acc(src_buffer, cgh, ::sycl::range<1>(size), ::sycl::id<1>(src_offset));
+ ::sycl::accessor<std::byte, 1, ::sycl::access::mode::write> dst_acc(_buffer, cgh, ::sycl::range<1>(size), ::sycl::id<1>(dst_offset));
+ cgh.copy(src_acc, dst_acc);
+ });
+ if (blocking) {
+ event.wait_and_throw();
+ return nullptr;
+ } else {
+ return create_event(sycl_stream, event);
+ }
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+ } break;
+ case allocation_type::cl_mem: {
+ OPENVINO_THROW("[GPU] SYCL engine does not support allocation_type::cl_mem");
+ } break;
+ default:
+ OPENVINO_THROW("[GPU] Unsupported buffer type for gpu_buffer::copy_from() function");
+ }
+}
+
+event::ptr gpu_buffer::copy_to(stream& stream, void* data_ptr, size_t src_offset, size_t dst_offset, size_t size, bool blocking) const {
+ if (size == 0)
+ return nullptr;
+
+ check_boundaries(_bytes_count, src_offset, SIZE_MAX, dst_offset, size, "gpu_buffer::copy_to(void*)");
+
+ auto& sycl_stream = downcast<sycl::sycl_stream>(stream);
+ // const qualifier should be removed to construct ::sycl::accessor
+ auto& src_buffer = const_cast<::sycl::buffer<std::byte, 1>&>(_buffer);
+ auto dst_ptr = static_cast<char*>(data_ptr) + dst_offset;
+
+ try {
+ auto event = sycl_stream.get_sycl_queue().submit([&](::sycl::handler& cgh) {
+ ::sycl::accessor<std::byte, 1, ::sycl::access::mode::read> src_acc(src_buffer, cgh, ::sycl::range<1>(size), ::sycl::id<1>(src_offset));
+ cgh.copy(src_acc, dst_ptr);
+ });
+
+ if (blocking) {
+ event.wait_and_throw();
+ return nullptr;
+ } else {
+ return create_event(sycl_stream, event);
+ }
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+}
+
+std::shared_ptr<gpu_buffer> gpu_buffer::create_subbuffer(const layout& new_layout, size_t byte_offset) const {
+ auto new_layout_bytes_count = new_layout.bytes_count();
+ OPENVINO_ASSERT(new_layout_bytes_count + byte_offset <= size(),
+ "Sub-buffer size (", new_layout_bytes_count, ") + offset (", byte_offset,
+ ") exceeds parent buffer size (", size(), ")");
+ auto sycl_engine = downcast<sycl::sycl_engine>(_engine);
+ auto mem_tracker = get_mem_tracker();
+
+ // if new buffer is the same as root buffer, just copy root buffer
+ if (new_layout_bytes_count == _root_buffer.byte_size() && _byte_offset + byte_offset == 0) {
+ return std::make_shared<gpu_buffer>(sycl_engine, new_layout, _root_buffer, mem_tracker);
+ }
+
+ return std::make_shared<gpu_buffer>(sycl_engine, new_layout, _byte_offset + byte_offset, _root_buffer, mem_tracker);
+}
+
+std::shared_ptr<gpu_buffer> gpu_buffer::reinterpret(const layout& new_layout) const {
+ // The reinterpreted GPU buffer can use a larger buffer size than the current one, as long as it does not exceed the root buffer size.
+ // If the current buffer has offset, the reinterpreted buffer also keeps the offset.
+ // |<-------------root buffer----------->|
+ // |<-offset->|<--current buffer-->|
+ // |<-offset->|<--reinterpreted buffer-->|
+ auto new_layout_bytes_count = new_layout.bytes_count();
+ OPENVINO_ASSERT(new_layout_bytes_count + _byte_offset <= _root_buffer.byte_size(),
+ "Reinterpret buffer size (", new_layout_bytes_count, ") + offset (", _byte_offset,
+ ") exceeds parent buffer size (", _root_buffer.byte_size(), ")");
+ auto sycl_engine = downcast<sycl::sycl_engine>(_engine);
+ auto mem_tracker = get_mem_tracker();
+
+ // if new buffer is the same as root buffer, just copy root buffer
+ if (new_layout_bytes_count == _root_buffer.byte_size() && _byte_offset == 0) {
+ return std::make_shared<gpu_buffer>(sycl_engine, new_layout, _root_buffer, mem_tracker);
+ }
+
+ return std::make_shared<gpu_buffer>(sycl_engine, new_layout, _byte_offset, _root_buffer, mem_tracker);
+}
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+dnnl::memory gpu_buffer::get_onednn_memory(dnnl::memory::desc desc, int64_t offset) const {
+ OPENVINO_ASSERT(offset + _byte_offset == 0, "get_onednn_memory with offset is not supported for sycl_buffer");
+
+ auto onednn_engine = _engine->get_onednn_engine();
+ dnnl::memory dnnl_mem(desc, onednn_engine, DNNL_MEMORY_NONE);
+ dnnl::sycl_interop::set_buffer(dnnl_mem, const_cast<::sycl::buffer<std::byte, 1>&>(_root_buffer));
+ return dnnl_mem;
+}
+#endif
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_memory.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_memory.hpp
new file mode 100644
index 00000000000..a9619cf13d7
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_memory.hpp
@@ -0,0 +1,83 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "sycl_common.hpp"
+#include "sycl_engine.hpp"
+#include "sycl_stream.hpp"
+#include "intel_gpu/runtime/memory.hpp"
+
+#include <cassert>
+#include <iterator>
+#include <mutex>
+#include <memory>
+#include <variant>
+
+namespace cldnn {
+namespace sycl {
+struct lockable_gpu_mem {
+ lockable_gpu_mem() :
+ _lock_count(0),
+ _mapped_ptr(nullptr) {}
+
+ std::mutex _mutex;
+ unsigned _lock_count;
+ void* _mapped_ptr;
+};
+
+struct gpu_buffer : public lockable_gpu_mem, public memory {
+ gpu_buffer(sycl_engine* engine, const layout& new_layout, const ::sycl::buffer<std::byte, 1>& root_buffer, std::shared_ptr<MemoryTracker> mem_tracker);
+ gpu_buffer(sycl_engine* engine, const layout& new_layout, const size_t byte_offset, const ::sycl::buffer<std::byte, 1>& root_buffer,
+ std::shared_ptr<MemoryTracker> mem_tracker);
+ gpu_buffer(sycl_engine* engine, const layout& layout);
+
+ void* lock(const stream& stream, mem_lock_type type = mem_lock_type::read_write) override;
+ void unlock(const stream& stream) override;
+ event::ptr fill(stream& stream, unsigned char pattern, const std::vector<event::ptr>& dep_events = {}, bool blocking = true) override;
+ event::ptr fill(stream& stream, const std::vector<event::ptr>& dep_events = {}, bool blocking = true) override;
+ shared_mem_params get_internal_params() const override;
+ ::sycl::buffer<std::byte, 1>& get_buffer() {
+ assert(0 == _lock_count);
+ return _buffer;
+ }
+ const ::sycl::buffer<std::byte, 1>& get_buffer() const {
+ assert(0 == _lock_count);
+ return _buffer;
+ }
+ void* buffer_ptr() const override {
+ return const_cast<void*>(static_cast<const void*>(&(get_buffer())));
+ }
+
+ event::ptr copy_from(stream& stream, const void* data_ptr, size_t src_offset, size_t dst_offset, size_t size, bool blocking) override;
+ event::ptr copy_from(stream& stream, const memory& src_mem, size_t src_offset, size_t dst_offset, size_t size, bool blocking) override;
+ event::ptr copy_to(stream& stream, void* data_ptr, size_t src_offset, size_t dst_offset, size_t size, bool blocking) const override;
+
+ std::shared_ptr<gpu_buffer> create_subbuffer(const layout& new_layout, size_t byte_offset = 0) const;
+ std::shared_ptr<gpu_buffer> reinterpret(const layout& new_layout) const;
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+ dnnl::memory get_onednn_memory(dnnl::memory::desc /* desc */, int64_t offset = 0) const override;
+#endif
+
+protected:
+ size_t _byte_offset;
+ ::sycl::buffer<std::byte, 1> _root_buffer;
+ ::sycl::buffer<std::byte, 1> _buffer;
+ using read_host_accessor = ::sycl::host_accessor<std::byte, 1, ::sycl::access::mode::read>;
+ using write_host_accessor = ::sycl::host_accessor<std::byte, 1, ::sycl::access::mode::write>;
+ using read_write_host_accessor = ::sycl::host_accessor<std::byte, 1, ::sycl::access::mode::read_write>;
+ using host_accessor_variant = std::variant<std::monostate,
+ std::unique_ptr<read_host_accessor>,
+ std::unique_ptr<write_host_accessor>,
+ std::unique_ptr<read_write_host_accessor>>;
+ host_accessor_variant _host_accessor;
+};
+
+// TODO: add gpu_image2d class and gpu_usm class
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_stream.cpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_stream.cpp
new file mode 100644
index 00000000000..70ee8a7ed17
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_stream.cpp
@@ -0,0 +1,229 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#include "sycl_stream.hpp"
+#include "CL/cl.h"
+#include "intel_gpu/runtime/stream.hpp"
+#include "sycl_event.hpp"
+#include "sycl_command_queues_builder.hpp"
+#include "intel_gpu/runtime/debug_configuration.hpp"
+#include "sycl_kernel.hpp"
+#include "sycl_common.hpp"
+
+#include <cassert>
+#include <string>
+#include <vector>
+#include <memory>
+
+// NOTE: Due to buggy scope transition of warnings we need to disable warning in place of use/instantation
+// of some types (even though we already disabled them in scope of definition of these types).
+// Moreover this warning is pretty much now only for annoyance: it is generated due to lack
+// of proper support for mangling of custom GCC attributes into type name (usually when used
+// with templates, even from standard library).
+#if defined __GNUC__ && __GNUC__ >= 6
+#pragma GCC diagnostic ignored "-Wignored-attributes"
+#endif
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+#include <oneapi/dnnl/dnnl_sycl.hpp>
+#endif
+
+namespace cldnn {
+namespace sycl {
+
+sycl_stream::sycl_stream(const sycl_engine &engine, const ExecutionConfig& config)
+ : stream(config.get_queue_type(), stream::get_expected_sync_method(config))
+ , _engine(engine) {
+ auto context = engine.get_sycl_context();
+ auto device = engine.get_sycl_device();
+ sycl::command_queues_builder queue_builder(config.get_enable_profiling(), m_queue_type == QueueTypes::out_of_order);
+
+ OPENVINO_ASSERT(m_sync_method != SyncMethods::none || m_queue_type == QueueTypes::in_order,
+ "[GPU] Unexpected sync method (none) is specified for out_of_order queue");
+
+ _command_queue = queue_builder.build(context, device);
+}
+
+sycl_stream::sycl_stream(const sycl_engine &engine, const ExecutionConfig& config, void *handle)
+ : stream(sycl_stream::detect_queue_type(handle), stream::get_expected_sync_method(config))
+ , _engine(engine) {
+ auto casted_handle = static_cast<::sycl::queue*>(handle);
+ _command_queue = *casted_handle;
+}
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+dnnl::stream& sycl_stream::get_onednn_stream() {
+ OPENVINO_ASSERT(m_queue_type == QueueTypes::in_order, "[GPU] Can't create onednn stream handle as onednn doesn't support out-of-order queue");
+ OPENVINO_ASSERT(_engine.get_device_info().vendor_id == INTEL_VENDOR_ID, "[GPU] Can't create onednn stream handle as for non-Intel devices");
+ if (!_onednn_stream) {
+ _onednn_stream = std::make_shared<dnnl::stream>(dnnl::sycl_interop::make_stream(_engine.get_onednn_engine(), _command_queue));
+ }
+
+ return *_onednn_stream;
+}
+#endif
+
+QueueTypes sycl_stream::detect_queue_type(void *queue_handle) {
+ auto queue = static_cast<::sycl::queue*>(queue_handle);
+ return queue->is_in_order() ? QueueTypes::in_order : QueueTypes::out_of_order;
+}
+
+void sycl_stream::set_arguments(kernel& kernel, const kernel_arguments_desc& args_desc, const kernel_arguments_data& args) {
+ OPENVINO_THROW("[GPU] sycl_stream::set_arguments is not implemented");
+}
+
+event::ptr sycl_stream::enqueue_kernel(kernel& kernel,
+ const kernel_arguments_desc& args_desc,
+ const kernel_arguments_data& args,
+ std::vector<event::ptr> const& deps,
+ bool is_output) {
+ OPENVINO_THROW("[GPU] sycl_stream::enqueue_kernel is not implemented");
+}
+
+void sycl_stream::enqueue_barrier() {
+ try {
+ _command_queue.ext_oneapi_submit_barrier();
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+}
+
+event::ptr sycl_stream::enqueue_marker(std::vector<event::ptr> const& deps, bool is_output) {
+ // Wait for all previously enqueued tasks if deps list is empty
+ if (deps.empty()) {
+ ::sycl::event ret_ev;
+ try {
+ ret_ev = _command_queue.submit([&](::sycl::handler &cgh) {
+ cgh.single_task([]() {});
+ });
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+
+ return std::make_shared<sycl_event>(ret_ev, _command_queue);
+ }
+
+ if (m_sync_method == SyncMethods::events) {
+ ::sycl::event ret_ev;
+ std::vector<::sycl::event> dep_events;
+ for (auto& dep : deps) {
+ if (auto sycl_base_ev = dynamic_cast<sycl_base_event*>(dep.get()))
+ dep_events.push_back(sycl_base_ev->get());
+ }
+
+ try {
+ if (dep_events.empty()) {
+ return create_user_event(true);
+ }
+ ret_ev = _command_queue.ext_oneapi_submit_barrier(dep_events);
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+
+ return std::make_shared<sycl_event>(ret_ev, _command_queue, ++_queue_counter);
+ } else if (m_sync_method == SyncMethods::barriers) {
+ sync_events(deps, is_output);
+ return std::make_shared<sycl_event>(_last_barrier_ev, _command_queue, _last_barrier);
+ } else {
+ // use sycl::event as a user event
+ return std::make_shared<sycl_event>(::sycl::event(), _command_queue);
+ }
+}
+
+event::ptr sycl_stream::group_events(std::vector<event::ptr> const& deps) {
+ if (deps.size() == 1)
+ return deps[0];
+ return std::make_shared<sycl_events>(deps);
+}
+
+event::ptr sycl_stream::create_user_event(bool set) {
+ OPENVINO_ASSERT(set, "[GPU] create user event with set=false is not supported in SYCL runtime");
+ return std::make_shared<sycl_event>(::sycl::event(), _command_queue);
+}
+
+event::ptr sycl_stream::create_base_event() {
+ ::sycl::event ret_ev;
+ return std::make_shared<sycl_event>(ret_ev, _command_queue, ++_queue_counter);
+}
+
+event::ptr sycl_stream::create_base_event(::sycl::event& event) {
+ return std::make_shared<sycl_event>(event, _command_queue, ++_queue_counter);
+}
+
+std::unique_ptr<surfaces_lock> sycl_stream::create_surfaces_lock(const std::vector<memory::ptr>&) const {
+ // SYCL runtime currently does not support surfaces lock
+ return nullptr;
+}
+
+void sycl_stream::flush() const {
+ // nothing to do
+}
+void sycl_stream::finish() const {
+ try {
+ _command_queue.wait_and_throw();
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+}
+
+void sycl_stream::wait() {
+ // Enqueue barrier with empty wait list to wait for all previously enqueued tasks
+ try {
+ auto ev = _command_queue.ext_oneapi_submit_barrier();
+ ev.wait_and_throw();
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+}
+
+void sycl_stream::wait_for_events(const std::vector<event::ptr>& events) {
+ if (events.empty())
+ return;
+
+ std::vector<::sycl::event> syclevents;
+ for (auto& ev : events) {
+ if (!ev)
+ continue;
+
+ if (auto sycl_base_ev = downcast<sycl_base_event>(ev.get())) {
+ syclevents.push_back(sycl_base_ev->get());
+ }
+ }
+
+ if (!syclevents.empty()) {
+ try {
+ ::sycl::event::wait_and_throw(syclevents);
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+ }
+}
+
+void sycl_stream::sync_events(std::vector<event::ptr> const& deps, bool is_output) {
+ bool needs_barrier = false;
+ for (auto& dep : deps) {
+ auto* sycl_base_ev = downcast<sycl_base_event>(dep.get());
+ if (sycl_base_ev->get_queue_stamp() > _last_barrier) {
+ needs_barrier = true;
+ }
+ }
+
+ if (needs_barrier) {
+ try {
+ if (is_output)
+ _last_barrier_ev = _command_queue.ext_oneapi_submit_barrier();
+ else
+ _command_queue.ext_oneapi_submit_barrier();
+ } catch (::sycl::exception const& err) {
+ OPENVINO_THROW(SYCL_ERR_MSG_FMT(err));
+ }
+
+ _last_barrier = ++_queue_counter;
+ }
+}
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_stream.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_stream.hpp
new file mode 100644
index 00000000000..6de6b180993
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_stream.hpp
@@ -0,0 +1,78 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#include "intel_gpu/runtime/event.hpp"
+#include "intel_gpu/runtime/stream.hpp"
+#include "sycl_common.hpp"
+#include "sycl_engine.hpp"
+
+#include <memory>
+#include <vector>
+
+namespace cldnn {
+namespace sycl {
+
+class sycl_stream : public stream {
+public:
+ ::sycl::queue& get_sycl_queue() { return _command_queue; }
+
+ sycl_stream(const sycl_engine& engine, const ExecutionConfig& config);
+ sycl_stream(const sycl_engine& engine, const ExecutionConfig& config, void* handle);
+ sycl_stream(sycl_stream&& other)
+ : stream(other.m_queue_type, other.m_sync_method)
+ , _engine(other._engine)
+ , _command_queue(other._command_queue)
+ , _queue_counter(other._queue_counter.load())
+ , _last_barrier(other._last_barrier.load())
+ , _last_barrier_ev(other._last_barrier_ev) {}
+
+ ~sycl_stream() = default;
+
+ void flush() const override;
+ void finish() const override;
+ void wait() override;
+
+ void set_arguments(kernel& kernel, const kernel_arguments_desc& args_desc, const kernel_arguments_data& args) override;
+ event::ptr enqueue_kernel(kernel& kernel,
+ const kernel_arguments_desc& args_desc,
+ const kernel_arguments_data& args,
+ std::vector<event::ptr> const& deps,
+ bool is_output = false) override;
+ event::ptr enqueue_marker(std::vector<event::ptr> const& deps, bool is_output) override;
+ event::ptr group_events(std::vector<event::ptr> const& deps) override;
+ void wait_for_events(const std::vector<event::ptr>& events) override;
+ void enqueue_barrier() override;
+ event::ptr create_user_event(bool set) override;
+ event::ptr create_base_event() override;
+ event::ptr create_base_event(::sycl::event& event);
+ std::unique_ptr<surfaces_lock> create_surfaces_lock(const std::vector<memory::ptr> &mem) const override;
+
+ // const sycl::UsmHelper& get_usm_helper() const { return _engine.get_usm_helper(); }
+
+ static QueueTypes detect_queue_type(void* queue_handle);
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+ dnnl::stream& get_onednn_stream() override;
+#endif
+
+private:
+ void sync_events(std::vector<event::ptr> const& deps, bool is_output = false);
+
+ const sycl_engine& _engine;
+ mutable ::sycl::queue _command_queue;
+ std::atomic<uint64_t> _queue_counter{0};
+ std::atomic<uint64_t> _last_barrier{0};
+ ::sycl::event _last_barrier_ev;
+
+#ifdef ENABLE_ONEDNN_FOR_GPU
+ std::shared_ptr<dnnl::stream> _onednn_stream = nullptr;
+#endif
+};
+
+} // namespace sycl
+} // namespace cldnn
diff --git a/src/plugins/intel_gpu/src/runtime/sycl/sycl_wrapper.hpp b/src/plugins/intel_gpu/src/runtime/sycl/sycl_wrapper.hpp
new file mode 100644
index 00000000000..56485e6024f
--- /dev/null
+++ b/src/plugins/intel_gpu/src/runtime/sycl/sycl_wrapper.hpp
@@ -0,0 +1,44 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+///
+/// \file This file wraps sycl/sycl.hpp and disables temporary some warnings that this header can emit.
+///
+
+#pragma once
+
+// Check for C++.
+#ifndef __cplusplus
+ #error This header can be used in C++ only.
+#endif
+
+// Check for compiler and change specific diagnostics.
+#if defined __INTEL_COMPILER
+ #pragma warning push
+#elif defined _MSC_VER
+ #pragma warning(push)
+#elif defined __clang__
+ #pragma clang diagnostic push
+#elif defined __GNUC__
+ #pragma GCC diagnostic push
+#else
+ #pragma message("Unknown compiler. No changes in diagnostics will be done.")
+#endif
+
+
+#include <sycl/sycl.hpp>
+
+
+// Restore specific diagnostics.
+#if defined __INTEL_COMPILER
+ #pragma warning pop
+#elif defined _MSC_VER
+ #pragma warning(pop)
+#elif defined __clang__
+ #pragma clang diagnostic pop
+#elif defined __GNUC__
+ #pragma GCC diagnostic pop
+#endif
diff --git a/src/plugins/intel_gpu/src/runtime/ze/ze_engine.hpp b/src/plugins/intel_gpu/src/runtime/ze/ze_engine.hpp
index 0af7a2aac12..98a8a2557fe 100644
--- a/src/plugins/intel_gpu/src/runtime/ze/ze_engine.hpp
+++ b/src/plugins/intel_gpu/src/runtime/ze/ze_engine.hpp
@@ -20,6 +20,7 @@ public:
ze_engine(const device::ptr dev, runtime_types runtime_type);
engine_types type() const override { return engine_types::ze; };
runtime_types runtime_type() const override { return runtime_types::ze; };
+ backend_types backend_type() const override { return backend_types::ze; };
memory_ptr allocate_memory(const layout& layout, allocation_type type, bool reset = true) override;
memory_ptr reinterpret_handle(const layout& new_layout, shared_mem_params params) override;
diff --git a/src/plugins/intel_gpu/tests/unit/CMakeLists.txt b/src/plugins/intel_gpu/tests/unit/CMakeLists.txt
index bfa6dec20ab..42e570cf4f1 100644
--- a/src/plugins/intel_gpu/tests/unit/CMakeLists.txt
+++ b/src/plugins/intel_gpu/tests/unit/CMakeLists.txt
@@ -11,7 +11,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
ov_add_compiler_flags(/wd4305)
endif()
-if(OV_COMPILER_IS_INTEL_LLVM AND UNIX)
+if(OV_GPU_WITH_SYCL AND UNIX)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=lld")
string(REPLACE "-pie" "" CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}")
endif()
@@ -62,6 +62,16 @@ if (NOT GPU_RT_TYPE STREQUAL "L0")
endforeach()
endif()
+file(GLOB_RECURSE SOURCES_WITH_SYCL_RT
+ "${CMAKE_CURRENT_SOURCE_DIR}/module_tests/sycl/*.cpp"
+ )
+
+if (NOT GPU_RT_TYPE STREQUAL "SYCL")
+ foreach (SOURCE_FILE IN LISTS SOURCES_WITH_SYCL_RT)
+ list (REMOVE_ITEM SOURCES_MAIN ${SOURCE_FILE})
+ endforeach()
+endif()
+
if (NOT ENABLE_ONEDNN_FOR_GPU)
set(EXCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/onednn/")
foreach (SOURCE_FILE IN LISTS SOURCES_MAIN)
diff --git a/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_device_test.cpp b/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_device_test.cpp
new file mode 100644
index 00000000000..7a1bf4b3712
--- /dev/null
+++ b/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_device_test.cpp
@@ -0,0 +1,186 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#ifdef OV_GPU_WITH_SYCL_RT
+
+#include "sycl_test_context.hpp"
+
+#include "intel_gpu/runtime/device.hpp"
+#include "intel_gpu/runtime/memory_caps.hpp"
+#include "runtime/sycl/sycl_device_detector.hpp"
+#include "runtime/sycl/sycl_device.hpp"
+
+#include <algorithm>
+#include <limits>
+#include <memory>
+#include <vector>
+
+using namespace cldnn;
+using namespace sycl_tests;
+
+
+namespace {
+
+struct dummy_device : public device {
+public:
+ dummy_device(uint32_t vendor_id, device_type type, size_t device_id) : _mem_caps({}) {
+ _info = device_info{};
+ _info.vendor_id = vendor_id;
+ _info.dev_type = type;
+ _info.device_id = static_cast<uint32_t>(device_id);
+ }
+
+ const device_info& get_info() const override { return _info; }
+ memory_capabilities get_mem_caps() const override { return _mem_caps; }
+ bool is_same(const device::ptr other) override {
+ return this == other.get();
+ }
+
+ void initialize() override {}
+
+ bool is_initialized() const override {
+ return true;
+ }
+
+ void set_mem_caps(const memory_capabilities& memory_capabilities) override {
+ _mem_caps = memory_capabilities;
+ }
+ ~dummy_device() = default;
+
+private:
+ device_info _info;
+ memory_capabilities _mem_caps;
+};
+
+} // namespace
+
+TEST(sycl_devices_test, sort_order_single_vendor) {
+ size_t device_id = 0;
+ std::vector<device::ptr> devices_list;
+ devices_list.push_back(std::make_shared<dummy_device>(INTEL_VENDOR_ID, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(INTEL_VENDOR_ID, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(INTEL_VENDOR_ID, device_type::integrated_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(INTEL_VENDOR_ID, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(INTEL_VENDOR_ID, device_type::discrete_gpu, device_id++));
+
+ auto sorted_list = sort_devices(devices_list);
+
+ std::vector<size_t> expected_devices_order = {2, 0, 1, 3, 4};
+
+ std::vector<size_t> actual_devices_order;
+ std::transform(sorted_list.begin(), sorted_list.end(), std::back_inserter(actual_devices_order), [](const device::ptr& d) -> size_t {
+ return d->get_info().device_id;
+ });
+
+ ASSERT_EQ(expected_devices_order, actual_devices_order);
+}
+
+TEST(sycl_devices_test, sort_order_two_vendors) {
+ size_t device_id = 0;
+ const auto OTHER_VENDOR_ID = 0x123;
+ std::vector<device::ptr> devices_list;
+ devices_list.push_back(std::make_shared<dummy_device>(OTHER_VENDOR_ID, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(OTHER_VENDOR_ID, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(INTEL_VENDOR_ID, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(INTEL_VENDOR_ID, device_type::integrated_gpu, device_id++));
+
+ auto sorted_list = sort_devices(devices_list);
+
+ std::vector<size_t> expected_devices_order = {3, 2, 0, 1};
+
+ std::vector<size_t> actual_devices_order;
+ std::transform(sorted_list.begin(), sorted_list.end(), std::back_inserter(actual_devices_order), [](const device::ptr& d) -> size_t {
+ return d->get_info().device_id;
+ });
+
+ ASSERT_EQ(expected_devices_order, actual_devices_order);
+}
+
+TEST(sycl_devices_test, sort_order_three_vendors) {
+ size_t device_id = 0;
+ const auto OTHER_VENDOR_ID1 = 0x123;
+ const auto OTHER_VENDOR_ID2 = 0x1234;
+ std::vector<device::ptr> devices_list;
+ devices_list.push_back(std::make_shared<dummy_device>(OTHER_VENDOR_ID1, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(OTHER_VENDOR_ID1, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(INTEL_VENDOR_ID, device_type::integrated_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(INTEL_VENDOR_ID, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(OTHER_VENDOR_ID2, device_type::discrete_gpu, device_id++));
+ devices_list.push_back(std::make_shared<dummy_device>(OTHER_VENDOR_ID2, device_type::discrete_gpu, device_id++));
+
+ auto sorted_list = sort_devices(devices_list);
+
+ std::vector<size_t> expected_devices_order = {2, 3, 0, 1, 4, 5};
+
+ std::vector<size_t> actual_devices_order;
+ std::transform(sorted_list.begin(), sorted_list.end(), std::back_inserter(actual_devices_order), [](const device::ptr& d) -> size_t {
+ return d->get_info().device_id;
+ });
+
+ ASSERT_EQ(expected_devices_order, actual_devices_order);
+}
+
+TEST(sycl_devices_test, is_same_device) {
+ cldnn::sycl::sycl_device_detector device_detector;
+
+ auto devices = device_detector.get_available_devices(nullptr, nullptr, 0, std::numeric_limits<int>::max() /* ignore sub-devices */);
+
+ if (devices.empty())
+ GTEST_SKIP() << "No available devices found";
+
+ for (const auto& device : devices) {
+ ASSERT_TRUE(device.second->is_same(device.second));
+ }
+
+ if (devices.size() > 1) {
+ auto first_device = devices.begin()->second;
+ auto second_device = devices.rbegin()->second;
+
+ ASSERT_FALSE(first_device->is_same(second_device));
+ }
+}
+
+// TODO: add test for on-demand initialization when it's implemented
+// TEST(sycl_devices_test, on_demand_initialization)
+
+TEST(sycl_devices_test, user_context_initialization) {
+ cldnn::sycl::sycl_device_detector device_detector;
+ auto devices = device_detector.get_available_devices(nullptr, nullptr, 0, -1);
+
+ if (devices.empty())
+ GTEST_SKIP() << "No available devices found";
+
+ auto initialized_device = std::dynamic_pointer_cast<cldnn::sycl::sycl_device>(devices.begin()->second);
+ ASSERT_NE(initialized_device, nullptr);
+ auto user_context = initialized_device->get_context();
+ auto shared_devices = device_detector.get_available_devices(&user_context, nullptr, 0, std::numeric_limits<int>::max() /* ignore sub-devices */);
+ ASSERT_EQ(shared_devices.size(), 1);
+
+ auto shared_sycl_device = std::dynamic_pointer_cast<cldnn::sycl::sycl_device>(shared_devices.begin()->second);
+ ASSERT_NE(shared_sycl_device, nullptr);
+ ASSERT_TRUE(shared_sycl_device->is_initialized());
+
+ ASSERT_EQ(shared_sycl_device->get_device(), initialized_device->get_device());
+ ASSERT_EQ(shared_sycl_device->get_context(), initialized_device->get_context());
+ ASSERT_TRUE(initialized_device->is_same(shared_sycl_device));
+}
+
+TEST(sycl_devices_test, user_device_initialization_not_implemented) {
+ cldnn::sycl::sycl_device_detector device_detector;
+
+ auto devices = device_detector.get_available_devices(nullptr, nullptr, 0, -1);
+
+ if (devices.empty())
+ GTEST_SKIP() << "No available devices found";
+
+ auto initialized_device = std::dynamic_pointer_cast<cldnn::sycl::sycl_device>(devices.begin()->second);
+ ASSERT_NE(initialized_device, nullptr);
+ auto user_device = initialized_device->get_device();
+
+ ASSERT_ANY_THROW(device_detector.get_available_devices(nullptr, &user_device, 0, std::numeric_limits<int>::max() /* ignore sub-devices */));
+}
+
+#endif // OV_GPU_WITH_SYCL_RT
diff --git a/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_engine_test.cpp b/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_engine_test.cpp
new file mode 100644
index 00000000000..03ee3a26bc6
--- /dev/null
+++ b/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_engine_test.cpp
@@ -0,0 +1,82 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#ifdef OV_GPU_WITH_SYCL_RT
+
+#include "sycl_test_context.hpp"
+
+#include "intel_gpu/runtime/memory.hpp"
+#include "runtime/sycl/sycl_memory.hpp"
+
+#include <memory>
+#include <vector>
+
+using namespace cldnn;
+using namespace sycl_tests;
+
+TEST(sycl_engine, memory_creation) {
+ auto sycl_test_context = create_sycl_test_context();
+ auto sycl_test_engine = sycl_test_context.sycl_test_engine;
+ auto sycl_test_stream = sycl_test_context.sycl_test_stream;
+
+ ASSERT_NE(sycl_test_engine, nullptr);
+ ASSERT_EQ(sycl_test_engine->type(), engine_types::sycl);
+ ASSERT_EQ(sycl_test_engine->runtime_type(), runtime_types::sycl);
+
+ std::shared_ptr<memory> mem = nullptr;
+ layout layout_to_allocate = {{2, 4}, data_types::u8, format::bfyx};
+
+ OV_ASSERT_NO_THROW(mem = sycl_test_engine->allocate_memory(layout_to_allocate));
+ ASSERT_NE(mem, nullptr);
+ ASSERT_EQ(mem->get_layout(), layout_to_allocate);
+ ASSERT_TRUE(mem->is_allocated_by(*sycl_test_engine));
+
+ std::vector<uint8_t> host_data(2 * 4);
+ OV_ASSERT_NO_THROW(mem = sycl_test_engine->attach_memory(layout_to_allocate, host_data.data()));
+ ASSERT_NE(mem, nullptr);
+ ASSERT_EQ(mem->get_layout(), layout_to_allocate);
+ ASSERT_NE(std::dynamic_pointer_cast<simple_attached_memory>(mem), nullptr);
+ ASSERT_FALSE(mem->is_allocated_by(*sycl_test_engine));
+ ASSERT_EQ(std::dynamic_pointer_cast<simple_attached_memory>(mem)->lock(*sycl_test_stream, mem_lock_type::read), host_data.data());
+}
+
+TEST(sycl_engine, memory_creation_sycl_buffer) {
+ auto sycl_test_context = create_sycl_test_context();
+ auto sycl_test_engine = sycl_test_context.sycl_test_engine;
+ auto sycl_test_stream = sycl_test_context.sycl_test_stream;
+
+ ASSERT_NE(sycl_test_engine, nullptr);
+
+ if (!sycl_test_engine->supports_allocation(allocation_type::sycl_buffer)) {
+ GTEST_SKIP() << "sycl_buffer allocation is not supported on this device";
+ }
+
+ const layout test_layout = {{1, 1, 16, 1}, data_types::u8, format::bfyx};
+
+ memory::ptr mem = nullptr;
+ OV_ASSERT_NO_THROW(mem = sycl_test_engine->allocate_memory(test_layout, allocation_type::sycl_buffer));
+
+ ASSERT_NE(mem, nullptr);
+ ASSERT_EQ(mem->get_layout(), test_layout);
+ ASSERT_EQ(mem->get_allocation_type(), allocation_type::sycl_buffer);
+ ASSERT_NE(std::dynamic_pointer_cast<cldnn::sycl::gpu_buffer>(mem), nullptr);
+ ASSERT_TRUE(mem->is_allocated_by(*sycl_test_engine));
+
+ std::vector<uint8_t> src(16, 7);
+ std::vector<uint8_t> dst(16, 0);
+
+ OV_ASSERT_NO_THROW(mem->copy_from(*sycl_test_stream, src.data(), true));
+ OV_ASSERT_NO_THROW(mem->copy_to(*sycl_test_stream, dst.data(), true));
+ ASSERT_EQ(src, dst);
+}
+
+// TODO: add the bellow tests when usm allocation is implemented
+// TEST(sycl_engine, memory_creation_usm_host) { ... }
+// TEST(sycl_engine, memory_creation_usm_device) { ... }
+// TEST(sycl_engine, memory_creation_usm_shared) { ... }
+// TEST(sycl_engine, large_allocation) { ... }
+
+#endif // OV_GPU_WITH_SYCL_RT
diff --git a/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_events_test.cpp b/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_events_test.cpp
new file mode 100644
index 00000000000..cddb18742c0
--- /dev/null
+++ b/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_events_test.cpp
@@ -0,0 +1,46 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#ifdef OV_GPU_WITH_SYCL_RT
+
+#include "sycl_test_context.hpp"
+
+#include "runtime/sycl/sycl_base_event.hpp"
+#include "runtime/sycl/sycl_event.hpp"
+
+using namespace cldnn;
+using namespace sycl_tests;
+
+
+/*
+USER EVENTS:
+*/
+
+TEST(sycl_event, can_create_user_event_as_complete) {
+ auto ctx = create_sycl_test_context();
+ auto user_ev = ctx.sycl_test_stream->create_user_event(true);
+
+ ASSERT_NE(std::dynamic_pointer_cast<cldnn::sycl::sycl_base_event>(user_ev), nullptr);
+ ASSERT_TRUE(user_ev->is_set());
+}
+
+// TODO: Add tests when create_user_event(false) is implemented
+// TEST(sycl_event, create_user_event_as_not_complete)
+// TEST(sycl_event, can_create_user_event_as_not_complete_and_set)
+
+TEST(sycl_event, can_create_user_event_as_complete_and_wait) {
+ auto ctx = create_sycl_test_context();
+ auto user_ev = ctx.sycl_test_stream->create_user_event(true);
+ user_ev->wait();
+
+ ASSERT_NE(std::dynamic_pointer_cast<cldnn::sycl::sycl_base_event>(user_ev), nullptr);
+ ASSERT_TRUE(user_ev->is_set());
+}
+
+// TODO: Add test when create_user_event(false) is implemented
+// TEST(sycl_event, can_create_user_event_as_not_complete_set_and_wait)
+
+#endif // OV_GPU_WITH_SYCL_RT
diff --git a/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_test_context.hpp b/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_test_context.hpp
new file mode 100644
index 00000000000..809d2f4d37e
--- /dev/null
+++ b/src/plugins/intel_gpu/tests/unit/module_tests/sycl/sycl_test_context.hpp
@@ -0,0 +1,38 @@
+// Copyright (C) 2018-2026 Intel Corporation
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright (C) 2026 FUJITSU LIMITED
+//
+
+#pragma once
+
+#ifdef OV_GPU_WITH_SYCL_RT
+
+#include "test_utils.h"
+
+#include <exception>
+#include <memory>
+
+namespace sycl_tests {
+
+struct sycl_test_context {
+ std::shared_ptr<cldnn::engine> sycl_test_engine;
+ std::shared_ptr<cldnn::stream> sycl_test_stream;
+};
+
+inline sycl_test_context create_sycl_test_context() {
+ sycl_test_context ctx;
+ try {
+ ctx.sycl_test_engine = ::tests::create_test_engine(cldnn::engine_types::sycl, cldnn::runtime_types::sycl);
+ } catch (const std::exception& e) {
+ OPENVINO_THROW(e.what());
+ }
+
+ OPENVINO_ASSERT(ctx.sycl_test_engine != nullptr, "[GPU] Failed to create SYCL engine for tests");
+ ctx.sycl_test_stream = ctx.sycl_test_engine->create_stream(::tests::get_test_default_config(*ctx.sycl_test_engine));
+ return ctx;
+}
+
+} // namespace sycl_tests
+
+#endif // OV_GPU_WITH_SYCL_RT
diff --git a/src/plugins/intel_gpu/thirdparty/CMakeLists.txt b/src/plugins/intel_gpu/thirdparty/CMakeLists.txt
index bffbf511a53..dd2a853fcaa 100644
--- a/src/plugins/intel_gpu/thirdparty/CMakeLists.txt
+++ b/src/plugins/intel_gpu/thirdparty/CMakeLists.txt
@@ -125,6 +125,9 @@ if(ENABLE_ONEDNN_FOR_GPU)
elseif(GPU_RUNTIME STREQUAL "OCL")
set(ONEDNN_GPU_RT "OCL")
set(ONEDNN_ENABLE_LTO ${ENABLE_LTO})
+ elseif(GPU_RUNTIME STREQUAL "SYCL")
+ set(ONEDNN_GPU_RT "SYCL")
+ set(ONEDNN_ENABLE_LTO ${ENABLE_LTO})
endif()
ExternalProject_Add(onednn_gpu_build