Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit e456907

Browse files
author
Alexander Batashev
committed
final fix
1 parent 240dc69 commit e456907

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SYCL/Basic/kernel_info.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ int main() {
3232
kernel krn = KB.get_kernel(KernelID);
3333

3434
q.submit([&](handler &cgh) {
35+
cgh.use_kernel_bundle(KB);
3536
auto acc = buf.get_access<access::mode::read_write>(cgh);
3637
cgh.single_task<class SingleTask>(krn, [=]() { acc[0] = acc[0] + 1; });
3738
});

0 commit comments

Comments
 (0)