From 2cad89686cb7a96f0d378d6abf49df89abd606e3 Mon Sep 17 00:00:00 2001 From: Sergei Vinogradov Date: Wed, 12 Nov 2025 18:21:29 +0100 Subject: [PATCH] Get ImplicitLocalArgPos from DeviceKernelInfo instead of ProgramManager --- sycl/source/detail/scheduler/commands.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sycl/source/detail/scheduler/commands.cpp b/sycl/source/detail/scheduler/commands.cpp index 498a3cee61728..0edba6d54a103 100644 --- a/sycl/source/detail/scheduler/commands.cpp +++ b/sycl/source/detail/scheduler/commands.cpp @@ -2470,8 +2470,7 @@ static ur_result_t SetKernelParamsAndLaunch( } std::optional ImplicitLocalArg = - ProgramManager::getInstance().kernelImplicitLocalArgPos( - DeviceKernelInfo.Name); + DeviceKernelInfo.getImplicitLocalArgPos(); // Set the implicit local memory buffer to support // get_work_group_scratch_memory. This is for backend not supporting // CUDA-style local memory setting. Note that we may have -1 as a position,