|
12 | 12 | // MODE1-LABEL: Submitted all kernels
|
13 | 13 | // MODE1: ---> piEventsWait(
|
14 | 14 | // MODE1-NEXT: <unknown> : 1
|
15 |
| -// MODE1: PI ---> EventCreate(Context, true, &HostVisibleEvent) |
| 15 | +// MODE1: PI ---> EventCreate(Queue->Context, Queue, ForceHostVisible |
16 | 16 | // MODE1: ZE ---> zeEventCreate(ZeEventPool, &ZeEventDesc, &ZeEvent)
|
17 | 17 | // MODE1: ZE ---> zeCommandListAppendWaitOnEvents(CommandList->first, 1,
|
18 | 18 | // &ZeEvent) MODE1-NEXT: ZE --->
|
|
22 | 22 | // With the SYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS=2 mode look for pattern that
|
23 | 23 | // creates host-visible event just before command-list submission.
|
24 | 24 | //
|
25 |
| -// MODE2: PI ---> EventCreate(Context, true, &HostVisibleEvent) |
| 25 | +// MODE2: PI ---> EventCreate(Queue->Context, Queue, ForceHostVisible |
26 | 26 | // MODE2: ZE ---> zeEventCreate(ZeEventPool, &ZeEventDesc, &ZeEvent)
|
27 | 27 | // MODE2: ZE ---> zeCommandListAppendSignalEvent(CommandList->first,
|
28 | 28 | // HostVisibleEvent->ZeEvent) MODE2: ZE --->
|
29 | 29 | // zeCommandListClose(CommandList->first) MODE2: ZE --->
|
30 | 30 | // zeCommandQueueExecuteCommandLists(ZeCommandQueue, 1, &ZeCommandList,
|
31 | 31 | // CommandList->second.ZeFence)
|
32 |
| -// |
| 32 | +/// |
33 | 33 | #include <CL/sycl.hpp>
|
34 | 34 |
|
35 | 35 | int main(int argc, char **argv) {
|
|
0 commit comments