diff --git a/sycl/test/basic_tests/builtins/relational_builtins.cpp b/sycl/test/basic_tests/builtins/relational_builtins.cpp index 15f2bbb16ff70..eabd7e26c35cb 100644 --- a/sycl/test/basic_tests/builtins/relational_builtins.cpp +++ b/sycl/test/basic_tests/builtins/relational_builtins.cpp @@ -249,7 +249,7 @@ void foo() { int main() { sycl::queue q; foo(); // Verify host. - q.submit([&](cl::sycl::handler &cgh) { + q.submit([&](sycl::handler &cgh) { cgh.single_task([]() { foo(); // verify device });