From 6e9f228c8dc8ec10f45f34caa6b95ecf129ee51f Mon Sep 17 00:00:00 2001 From: "Hu, Peisen" Date: Thu, 23 Jan 2025 09:44:06 -0800 Subject: [PATCH] [SYCL] Minor fix 4 Signed-off-by: Hu, Peisen --- sycl/test-e2e/VirtualFunctions/misc/range-non-uniform-vf-2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test-e2e/VirtualFunctions/misc/range-non-uniform-vf-2.cpp b/sycl/test-e2e/VirtualFunctions/misc/range-non-uniform-vf-2.cpp index 93af9fa9692d3..c62e65c7b9d69 100644 --- a/sycl/test-e2e/VirtualFunctions/misc/range-non-uniform-vf-2.cpp +++ b/sycl/test-e2e/VirtualFunctions/misc/range-non-uniform-vf-2.cpp @@ -50,7 +50,7 @@ template struct KernelFunctor { KernelFunctor(T1 DeviceStorage, T2 DataAcc) : mDeviceStorage(DeviceStorage), mDataAcc(DataAcc) {} - void operator()(sycl::item<1> It) const { + template void operator()(T It) const { // Select method that corresponds to this work-item auto *Ptr = mDeviceStorage->template getAs(); if (It % 2)