diff --git a/source/benchmarks/graph_api_benchmark/implementations/ur/decoder2_impl_ur.h b/source/benchmarks/graph_api_benchmark/implementations/ur/decoder2_impl_ur.h index af5128b1..06367d04 100644 --- a/source/benchmarks/graph_api_benchmark/implementations/ur/decoder2_impl_ur.h +++ b/source/benchmarks/graph_api_benchmark/implementations/ur/decoder2_impl_ur.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2025 Intel Corporation + * Copyright (C) 2025-2026 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -13,7 +13,12 @@ #include "definitions/decoder2_graph_base.h" #include + +#if __has_include() +#include +#else #include +#endif class Decoder2GraphUR : public Decoder2GraphBase { public: diff --git a/source/benchmarks/graph_api_benchmark/implementations/ur/sin_kernel_impl_ur.cpp b/source/benchmarks/graph_api_benchmark/implementations/ur/sin_kernel_impl_ur.cpp index 23f7c43f..99dad8d2 100644 --- a/source/benchmarks/graph_api_benchmark/implementations/ur/sin_kernel_impl_ur.cpp +++ b/source/benchmarks/graph_api_benchmark/implementations/ur/sin_kernel_impl_ur.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024-2025 Intel Corporation + * Copyright (C) 2024-2026 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -9,7 +9,11 @@ #include "framework/test_case/test_result.h" +#if __has_include("ur/ur_api.h") +#include "ur/ur_api.h" +#else #include "ur_api.h" +#endif #include #include diff --git a/source/benchmarks/graph_api_benchmark/implementations/ur/sin_kernel_impl_ur.h b/source/benchmarks/graph_api_benchmark/implementations/ur/sin_kernel_impl_ur.h index 4dfa2cd5..9f97d690 100644 --- a/source/benchmarks/graph_api_benchmark/implementations/ur/sin_kernel_impl_ur.h +++ b/source/benchmarks/graph_api_benchmark/implementations/ur/sin_kernel_impl_ur.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024-2025 Intel Corporation + * Copyright (C) 2024-2026 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -13,7 +13,12 @@ #include "definitions/sin_kernel_graph_base.h" #include + +#if __has_include() +#include +#else #include +#endif class SinKernelGraphUR : public SinKernelGraphBase { public: diff --git a/source/benchmarks/graph_api_benchmark/implementations/ur/submit_graph_ur.cpp b/source/benchmarks/graph_api_benchmark/implementations/ur/submit_graph_ur.cpp index 71d888b2..8fb9baa0 100644 --- a/source/benchmarks/graph_api_benchmark/implementations/ur/submit_graph_ur.cpp +++ b/source/benchmarks/graph_api_benchmark/implementations/ur/submit_graph_ur.cpp @@ -14,7 +14,12 @@ #include "definitions/submit_graph.h" #include + +#if __has_include() +#include +#else #include +#endif static constexpr size_t n_dimensions = 3; static constexpr size_t global_size[] = {1, 1, 1}; diff --git a/source/framework/ur/ur.h b/source/framework/ur/ur.h index 14f96b18..97f9494e 100644 --- a/source/framework/ur/ur.h +++ b/source/framework/ur/ur.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Intel Corporation + * Copyright (C) 2024-2026 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -9,7 +9,11 @@ #include "framework/configuration.h" +#if __has_include() +#include +#else #include +#endif struct UrState { UrState();