We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e10e6de commit f3add79Copy full SHA for f3add79
sycl/test-e2e/Basic/empty_command.cpp
@@ -87,11 +87,8 @@ void test_accessor_dep() {
87
a[0] = 42;
88
});
89
90
- auto empty_cg_event = q.submit([&](handler &cgh) {
91
- sycl::accessor a{b};
92
- // TODO: Clarify with spec people that it should create a dependency indeed.
93
- cgh.require(a);
94
- });
+ auto empty_cg_event =
+ q.submit([&](handler &cgh) { sycl::accessor a{b, cgh}; });
95
96
// FIXME: This should deadlock, but the dependency is ignored currently.
97
empty_cg_event.wait();
0 commit comments