File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -170,18 +170,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urEventGetInfo(ur_event_handle_t hEvent,
170
170
*reinterpret_cast <ur_command_t *>(pPropValue) = convertCLCommandTypeToUR (
171
171
*reinterpret_cast <cl_command_type *>(pPropValue));
172
172
} else if (propName == UR_EVENT_INFO_COMMAND_EXECUTION_STATUS) {
173
- /* If the CL_EVENT_COMMAND_EXECUTION_STATUS info value is CL_QUEUED,
174
- * change it to CL_SUBMITTED. sycl::info::event::event_command_status has
175
- * no equivalent to CL_QUEUED.
176
- *
177
- * FIXME UR Port: This should not be part of the UR adapter. Since
178
- * PI_QUEUED exists, SYCL RT should be changed to handle this situation.
179
- * In addition, SYCL RT is relying on PI_QUEUED status to make sure that
180
- * the queues are flushed. */
181
173
const auto param_value_int = static_cast <ur_event_status_t *>(pPropValue);
182
- if (*param_value_int == UR_EVENT_STATUS_QUEUED) {
183
- *param_value_int = UR_EVENT_STATUS_SUBMITTED;
184
- } else if (*param_value_int < 0 ) {
174
+ if (*param_value_int < 0 ) {
185
175
// This can contain a negative return code to signify that the command
186
176
// terminated in an unexpected way.
187
177
*param_value_int = UR_EVENT_STATUS_ERROR;
You can’t perform that action at this time.
0 commit comments