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 b58507b commit b22212eCopy full SHA for b22212e
sycl/test-e2e/Basic/multi_context_wait.cpp
@@ -1,8 +1,10 @@
1
// RUN: %{build} -o %t.out
2
// RUN: %{run} %t.out
3
4
+#include <sycl/detail/core.hpp>
5
+#include <sycl/usm.hpp>
6
+
7
#include <iostream>
-#include <sycl/sycl.hpp>
8
#include <vector>
9
10
std::vector<sycl::event> submit_dependencies(sycl::queue q1, sycl::queue q2,
@@ -51,6 +53,8 @@ void test_host_task() {
51
53
});
52
54
55
56
+ q2.wait();
57
58
sycl::free(mem1, c1);
59
sycl::free(mem2, c2);
60
}
@@ -76,6 +80,8 @@ void test_kernel() {
76
80
77
81
78
82
83
84
79
85
86
87
0 commit comments