Skip to content

Commit 9c3de3b

Browse files
committed
Fix linear-host-dev.cpp test: add missing sync point
1 parent 6ed7e99 commit 9c3de3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/test/linear_id/linear-host-dev.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ int main(int argc, char *argv[]) {
3838
out << item.get_linear_id() << cl::sycl::endl;
3939
});
4040
});
41+
q.wait();
4142

4243
return 0;
4344
}

0 commit comments

Comments
 (0)