We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a504ead + edc1821 commit 6883118Copy full SHA for 6883118
source/adapters/level_zero/command_buffer.cpp
@@ -1030,7 +1030,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferUpdateKernelLaunchExp(
1030
UR_ASSERT(Command, UR_RESULT_ERROR_INVALID_NULL_HANDLE);
1031
UR_ASSERT(Command->Kernel, UR_RESULT_ERROR_INVALID_NULL_HANDLE);
1032
UR_ASSERT(CommandDesc, UR_RESULT_ERROR_INVALID_NULL_POINTER);
1033
- UR_ASSERT(CommandDesc->newWorkDim >= 0 && CommandDesc->newWorkDim <= 3,
+ UR_ASSERT(CommandDesc->newWorkDim <= 3,
1034
UR_RESULT_ERROR_INVALID_WORK_DIMENSION);
1035
1036
// Lock command, kernel and command buffer for update.
0 commit comments