Skip to content

Commit 48facdd

Browse files
authored
Merge pull request #1539 from nrspruit/fix_error_unknown_out_of_memory
[L0] reset and clean the command list on error unknown
2 parents 7fcfe3a + 49046ec commit 48facdd

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
@@ -1416,10 +1416,6 @@ ur_queue_handle_t_::executeCommandList(ur_command_list_ptr_t CommandList,
14161416
(ZeCommandQueue, 1, &ZeCommandList, CommandList->second.ZeFence));
14171417
if (ZeResult != ZE_RESULT_SUCCESS) {
14181418
this->Healthy = false;
1419-
if (ZeResult == ZE_RESULT_ERROR_UNKNOWN) {
1420-
// Turn into a more informative end-user error.
1421-
return UR_RESULT_ERROR_UNKNOWN;
1422-
}
14231419
// Reset Command List and erase the Fence forcing the user to resubmit
14241420
// their commands.
14251421
std::vector<ur_event_handle_t> EventListToCleanup;

0 commit comments

Comments
 (0)