From 27ac8ef43628b674ff676a2e1f99674cf0103f52 Mon Sep 17 00:00:00 2001 From: Pablo Reble Date: Thu, 3 Apr 2025 12:55:13 -0500 Subject: [PATCH 1/2] Update graph_impl.cpp --- sycl/source/detail/graph_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/source/detail/graph_impl.cpp b/sycl/source/detail/graph_impl.cpp index 237e9618b32ab..f92884d7a7267 100644 --- a/sycl/source/detail/graph_impl.cpp +++ b/sycl/source/detail/graph_impl.cpp @@ -1540,7 +1540,7 @@ void exec_graph_impl::populateURKernelUpdateStructs( // and can therefore not be looked up, but since they are self-contained // they can simply be launched directly. if (KernelBundleImplPtr && !KernelBundleImplPtr->isInterop()) { - auto KernelName = ExecCG.MKernelName; + const auto &KernelName = ExecCG.MKernelName; kernel_id KernelID = sycl::detail::ProgramManager::getInstance().getSYCLKernelID(KernelName); kernel SyclKernel = From 11bb37238ef5526d8f867975db946b7192391653 Mon Sep 17 00:00:00 2001 From: Pablo Reble Date: Thu, 3 Apr 2025 11:19:42 -0700 Subject: [PATCH 2/2] clang-format --- sycl/source/detail/graph_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/source/detail/graph_impl.cpp b/sycl/source/detail/graph_impl.cpp index f92884d7a7267..91b895cc3ccf9 100644 --- a/sycl/source/detail/graph_impl.cpp +++ b/sycl/source/detail/graph_impl.cpp @@ -8,7 +8,6 @@ #define __SYCL_GRAPH_IMPL_CPP -#include #include #include #include @@ -16,6 +15,7 @@ #include #include #include +#include #include #ifdef __INTEL_PREVIEW_BREAKING_CHANGES #include