From 6d6671f40a12846cd799f810f1886559d4ecee6f Mon Sep 17 00:00:00 2001 From: "Ptak, Slawomir" Date: Wed, 8 Oct 2025 14:18:42 +0000 Subject: [PATCH] [SYCL] Code location fix for handler-less kernel submission Capture the code location from the kernel compile-time info, for consistency with the handler-based submission, for parallel_for queue shortcuts. --- sycl/include/sycl/queue.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/include/sycl/queue.hpp b/sycl/include/sycl/queue.hpp index f6dce0d01accc..ef0baaafb608b 100644 --- a/sycl/include/sycl/queue.hpp +++ b/sycl/include/sycl/queue.hpp @@ -3286,7 +3286,7 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase { const KernelType &>::value)) { return detail::submit_kernel_direct( *this, ext::oneapi::experimental::empty_properties_t{}, Range, - Rest...); + Rest..., TlsCodeLocCapture.query()); } else #endif {