Skip to content

Commit ff781ed

Browse files
Fixed stray use of deprecated SYCL-2020 quantifier in dpctl_c_api tests
1 parent 21f6f12 commit ff781ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsyclinterface/tests/test_sycl_event_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ sycl::event produce_event(sycl::queue &Q, sycl::buffer<int> &data)
4040
int N = data.get_range()[0];
4141

4242
auto e1 = Q.submit([&](sycl::handler &h) {
43-
sycl::accessor a{data, h, sycl::write_only, sycl::noinit};
43+
sycl::accessor a{data, h, sycl::write_only, sycl::no_init};
4444
h.parallel_for(N, [=](sycl::id<1> i) { a[i] = 1; });
4545
});
4646

0 commit comments

Comments
 (0)