Skip to content

Commit

Permalink
Merge pull request #1461 from Bensuo/coverity_L0_update
Browse files Browse the repository at this point in the history
[Cmd-Buf][L0] Fix Coverity unsigned comparison report
  • Loading branch information
aarongreig committed Mar 25, 2024
2 parents a504ead + edc1821 commit 6883118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/level_zero/command_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferUpdateKernelLaunchExp(
UR_ASSERT(Command, UR_RESULT_ERROR_INVALID_NULL_HANDLE);
UR_ASSERT(Command->Kernel, UR_RESULT_ERROR_INVALID_NULL_HANDLE);
UR_ASSERT(CommandDesc, UR_RESULT_ERROR_INVALID_NULL_POINTER);
UR_ASSERT(CommandDesc->newWorkDim >= 0 && CommandDesc->newWorkDim <= 3,
UR_ASSERT(CommandDesc->newWorkDim <= 3,
UR_RESULT_ERROR_INVALID_WORK_DIMENSION);

// Lock command, kernel and command buffer for update.
Expand Down

0 comments on commit 6883118

Please sign in to comment.