Skip to content

Commit

Permalink
Merge pull request #1539 from nrspruit/fix_error_unknown_out_of_memory
Browse files Browse the repository at this point in the history
[L0] reset and clean the command list on error unknown
  • Loading branch information
kbenzie committed Apr 25, 2024
1 parent 84d7a49 commit 66bfe5a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/adapters/level_zero/queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1415,10 +1415,6 @@ ur_queue_handle_t_::executeCommandList(ur_command_list_ptr_t CommandList,
(ZeCommandQueue, 1, &ZeCommandList, CommandList->second.ZeFence));
if (ZeResult != ZE_RESULT_SUCCESS) {
this->Healthy = false;
if (ZeResult == ZE_RESULT_ERROR_UNKNOWN) {
// Turn into a more informative end-user error.
return UR_RESULT_ERROR_UNKNOWN;
}
// Reset Command List and erase the Fence forcing the user to resubmit
// their commands.
std::vector<ur_event_handle_t> EventListToCleanup;
Expand Down

0 comments on commit 66bfe5a

Please sign in to comment.