Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] update trace for https://github.com/intel/llvm/pull/5543 #841

Merged
merged 2 commits into from
Feb 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions SYCL/Plugin/level_zero_device_scope_events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// MODE1-LABEL: Submitted all kernels
// MODE1: ---> piEventsWait(
// MODE1-NEXT: <unknown> : 1
// MODE1: PI ---> EventCreate(Context, true, &HostVisibleEvent)
// MODE1: PI ---> EventCreate(Queue->Context, Queue, ForceHostVisible
// MODE1: ZE ---> zeEventCreate(ZeEventPool, &ZeEventDesc, &ZeEvent)
// MODE1: ZE ---> zeCommandListAppendWaitOnEvents(CommandList->first, 1,
// &ZeEvent) MODE1-NEXT: ZE --->
Expand All @@ -22,14 +22,14 @@
// With the SYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS=2 mode look for pattern that
// creates host-visible event just before command-list submission.
//
// MODE2: PI ---> EventCreate(Context, true, &HostVisibleEvent)
// MODE2: PI ---> EventCreate(Queue->Context, Queue, ForceHostVisible
// MODE2: ZE ---> zeEventCreate(ZeEventPool, &ZeEventDesc, &ZeEvent)
// MODE2: ZE ---> zeCommandListAppendSignalEvent(CommandList->first,
// HostVisibleEvent->ZeEvent) MODE2: ZE --->
// zeCommandListClose(CommandList->first) MODE2: ZE --->
// zeCommandQueueExecuteCommandLists(ZeCommandQueue, 1, &ZeCommandList,
// CommandList->second.ZeFence)
//
///
#include <CL/sycl.hpp>

int main(int argc, char **argv) {
Expand Down