Skip to content

Commit 467df22

Browse files
[SYCL][L0] Remove a TODO (#6247)
The code is already doing the right thing.
1 parent 53430c8 commit 467df22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5339,9 +5339,9 @@ pi_result piEventGetInfo(pi_event Event, pi_event_info ParamName,
53395339
}
53405340
}
53415341

5342-
// TODO: We don't know if the status is queued, submitted or running.
5343-
// For now return "running", as others are unlikely to be of
5344-
// interest.
5342+
// Level Zero has a much more explicit notion of command submission than
5343+
// OpenCL. It doesn't happen unless the user submits a command list. We've
5344+
// done it just above so the status is at least CL_RUNNING.
53455345
pi_int32 Result = CL_RUNNING;
53465346

53475347
// Make sure that we query a host-visible event only.

0 commit comments

Comments
 (0)