Skip to content

Commit 27ac8ef

Browse files
authored
Update graph_impl.cpp
1 parent a485cbf commit 27ac8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/graph_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ void exec_graph_impl::populateURKernelUpdateStructs(
15401540
// and can therefore not be looked up, but since they are self-contained
15411541
// they can simply be launched directly.
15421542
if (KernelBundleImplPtr && !KernelBundleImplPtr->isInterop()) {
1543-
auto KernelName = ExecCG.MKernelName;
1543+
const auto &KernelName = ExecCG.MKernelName;
15441544
kernel_id KernelID =
15451545
sycl::detail::ProgramManager::getInstance().getSYCLKernelID(KernelName);
15461546
kernel SyclKernel =

0 commit comments

Comments
 (0)