Skip to content

Commit 77b6d21

Browse files
handling kernel calls on host synchronize event
1 parent f278298 commit 77b6d21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/ze_tracer/ze_kernel_collector.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ class ZeKernelCollector {
12461246
reinterpret_cast<ZeKernelCollector*>(global_data);
12471247
PTI_ASSERT(collector != nullptr);
12481248
collector->ProcessCall("EventHostSynchronize", *(params->phEvent));
1249+
collector->ProcessCalls("EventHostSynchronize");
12491250
}
12501251
}
12511252

@@ -1258,6 +1259,7 @@ class ZeKernelCollector {
12581259
reinterpret_cast<ZeKernelCollector*>(global_data);
12591260
PTI_ASSERT(collector != nullptr);
12601261
collector->ProcessCall("FenceHostSynchronize", *(params->phFence));
1262+
collector->ProcessCalls("FenceHostSynchronize");
12611263
}
12621264
}
12631265

0 commit comments

Comments
 (0)