Skip to content

Commit 7497774

Browse files
[SYCL][PL][L0][NFC] Remove some debug code that was inadvertently checked in. (#3145)
This change removes zePrint debug code that was inadvertantly checked in at the beginning and end of cleanupAfterEvent.
1 parent 24d852b commit 7497774

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3757,7 +3757,6 @@ pi_result piEventGetProfilingInfo(pi_event Event, pi_profiling_info ParamName,
37573757
// This currently recycles the associate command list, and also makes
37583758
// sure to release any kernel that may have been used by the event.
37593759
static void cleanupAfterEvent(pi_event Event) {
3760-
zePrint("cleanupAfterEvent entry\n");
37613760
// The implementation of this is slightly tricky. The same event
37623761
// can be referred to by multiple threads, so it is possible to
37633762
// have a race condition between the read of fields of the event,
@@ -3767,8 +3766,6 @@ static void cleanupAfterEvent(pi_event Event) {
37673766
// queue to also serve as the thread safety mechanism for the
37683767
// any of the Event's data members that need to be read/reset as
37693768
// part of the cleanup operations.
3770-
zePrint("cleanupAfterEvent entry\n");
3771-
37723769
{
37733770
auto Queue = Event->Queue;
37743771

@@ -3822,7 +3819,6 @@ static void cleanupAfterEvent(pi_event Event) {
38223819
EventsToBeReleased);
38233820
piEventRelease(DepEvent);
38243821
}
3825-
zePrint("cleanupAfterEvent exit\n");
38263822
}
38273823

38283824
pi_result piEventsWait(pi_uint32 NumEvents, const pi_event *EventList) {

0 commit comments

Comments
 (0)