Skip to content

Commit e0f186e

Browse files
ProGTXwenju-he
andauthored
Update sycl/test-e2e/bindless_images/3_channel_format.cpp
Co-authored-by: Wenju He <[email protected]>
1 parent 5309b94 commit e0f186e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/bindless_images/3_channel_format.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ int main() {
4949
sycl::buffer<float> buf(out.data(), width);
5050

5151
q.submit([&](sycl::handler &cgh) {
52-
sycl::accessor outAcc{buf};
52+
sycl::accessor outAcc{buf, cgh};
5353

5454
cgh.parallel_for<image_kernel>(width, [=](sycl::id<1> id) {
5555
#if defined(__SYCL_DEVICE_ONLY__) && defined(__NVPTX__)

0 commit comments

Comments
 (0)