Skip to content

Commit 49046ec

Browse files
committed
[L0] reset and clean the command list on error unknown
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
1 parent 003d4da commit 49046ec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/adapters/level_zero/queue.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,10 +1207,6 @@ ur_queue_handle_t_::executeCommandList(ur_command_list_ptr_t CommandList,
12071207
(ZeCommandQueue, 1, &ZeCommandList, CommandList->second.ZeFence));
12081208
if (ZeResult != ZE_RESULT_SUCCESS) {
12091209
this->Healthy = false;
1210-
if (ZeResult == ZE_RESULT_ERROR_UNKNOWN) {
1211-
// Turn into a more informative end-user error.
1212-
return UR_RESULT_ERROR_UNKNOWN;
1213-
}
12141210
// Reset Command List and erase the Fence forcing the user to resubmit
12151211
// their commands.
12161212
std::vector<ur_event_handle_t> EventListToCleanup;

0 commit comments

Comments
 (0)