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 c62e65c7b9d69..138d5322a4393 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 @@ -73,6 +73,7 @@ int main() try { auto *DeviceStorage = sycl::malloc_shared(1, q); sycl::range R{1024}; + constexpr oneapi::properties props{oneapi::assume_indirect_calls}; for (size_t TestCase = 0; TestCase < 2; ++TestCase) { std::vector HostData(R.size()); std::iota(HostData.begin(), HostData.end(), 0); @@ -87,7 +88,7 @@ int main() try { q.submit([&](sycl::handler &CGH) { sycl::accessor DataAcc(DataStorage, CGH, sycl::read_write); - CGH.parallel_for(R, KernelFunctor(DeviceStorage, DataAcc)); + CGH.parallel_for(R, props, KernelFunctor(DeviceStorage, DataAcc)); }); BaseOp *Ptr = HostStorage.construct(TestCase); diff --git a/sycl/test-e2e/VirtualFunctions/misc/range-non-uniform-vf.cpp b/sycl/test-e2e/VirtualFunctions/misc/range-non-uniform-vf.cpp index 56b233dbff8cb..6b0ee7abf7c28 100644 --- a/sycl/test-e2e/VirtualFunctions/misc/range-non-uniform-vf.cpp +++ b/sycl/test-e2e/VirtualFunctions/misc/range-non-uniform-vf.cpp @@ -68,6 +68,7 @@ int main() try { auto *DeviceStorage = sycl::malloc_shared(3, q); sycl::range R{1024}; + constexpr oneapi::properties props{oneapi::assume_indirect_calls}; { std::vector HostData(R.size()); for (size_t I = 1; I < HostData.size(); ++I) @@ -85,7 +86,7 @@ int main() try { q.submit([&](sycl::handler &CGH) { sycl::accessor DataAcc(DataStorage, CGH, sycl::read_write); - CGH.parallel_for(R, KernelFunctor(DeviceStorage, DataAcc)); + CGH.parallel_for(R, props, KernelFunctor(DeviceStorage, DataAcc)); }); BaseOp *Ptr[] = {HostStorage[0].construct(0), diff --git a/sycl/test-e2e/VirtualFunctions/misc/range-uniform-vf.cpp b/sycl/test-e2e/VirtualFunctions/misc/range-uniform-vf.cpp index f624dcb26d66a..3e3fc6b306065 100644 --- a/sycl/test-e2e/VirtualFunctions/misc/range-uniform-vf.cpp +++ b/sycl/test-e2e/VirtualFunctions/misc/range-uniform-vf.cpp @@ -66,6 +66,7 @@ int main() try { auto *DeviceStorage = sycl::malloc_shared(1, q); sycl::range R{1024}; + constexpr oneapi::properties props{oneapi::assume_indirect_calls}; for (unsigned TestCase = 0; TestCase < 3; ++TestCase) { std::vector HostData(R.size()); for (size_t I = 1; I < HostData.size(); ++I) @@ -81,7 +82,7 @@ int main() try { q.submit([&](sycl::handler &CGH) { sycl::accessor DataAcc(DataStorage, CGH, sycl::read_write); - CGH.parallel_for(R, KernelFunctor(DeviceStorage, DataAcc)); + CGH.parallel_for(R, props, KernelFunctor(DeviceStorage, DataAcc)); }); auto *Ptr = HostStorage.construct(TestCase);