diff --git a/sycl/test-e2e/SubGroup/sub_group_as_vec.cpp b/sycl/test-e2e/SubGroup/sub_group_as_vec.cpp index d58bc16d6310d..15126f1deb04f 100644 --- a/sycl/test-e2e/SubGroup/sub_group_as_vec.cpp +++ b/sycl/test-e2e/SubGroup/sub_group_as_vec.cpp @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) { queue.submit([&](sycl::handler &cgh) { auto global = buf.get_access(cgh); -#ifdef DUSE_DEPRECATED_LOCAL_ACC +#ifdef USE_DEPRECATED_LOCAL_ACC sycl::accessor, 1, sycl::access::mode::read_write, sycl::access::target::local> local(N, cgh);