Skip to content

[SYCL][L0] Remove a TODO #6247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 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/plugins/level_zero/pi_level_zero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5339,9 +5339,9 @@ pi_result piEventGetInfo(pi_event Event, pi_event_info ParamName,
}
}

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

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