We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de30378 + 8cb5332 commit 0ec8235Copy full SHA for 0ec8235
1 file changed
adoc/code/mykernel.cpp
@@ -9,10 +9,12 @@ myQueue.submit([&](handler& h) {
9
h.single_task<MyKernel>([=] {
10
// [kernel code]
11
});
12
+});
13
- // Explicitly name kernel without forward declaring type at
14
- // namespace scope. Must still be forward declarable at
15
- // namespace scope, even if not declared at that scope
+// Explicitly name kernel without forward declaring type at
+// namespace scope. Must still be forward declarable at
16
+// namespace scope, even if not declared at that scope
17
+myQueue.submit([&](handler& h) {
18
h.single_task<class MyOtherKernel>([=] {
19
20
0 commit comments