diff --git a/tests/multi_ptr/multi_ptr_deduction_guides.cpp b/tests/multi_ptr/multi_ptr_deduction_guides.cpp index b897b1517..30d062810 100644 --- a/tests/multi_ptr/multi_ptr_deduction_guides.cpp +++ b/tests/multi_ptr/multi_ptr_deduction_guides.cpp @@ -84,7 +84,7 @@ class check_multi_ptr_deduction { else acc_t(r, cgh); auto acc_res = buf_res.get_access(cgh); - cgh.single_task([=] { + cgh.parallel_for(sycl::nd_range<1>({1}, {1}), [=](auto item) { auto mptr = multi_ptr(_accessor); acc_res[0] = std::is_same_v(deduction::vector_types); for_all_types(deduction::scalar_types); -}); +} } // namespace multi_ptr_deduction_guides