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.
1 parent 3e54524 commit 495f397Copy full SHA for 495f397
unified-runtime/source/adapters/level_zero/kernel.cpp
@@ -279,7 +279,7 @@ ur_result_t urEnqueueCooperativeKernelLaunchExp(
279
280
if (LocalWorkSize) {
281
// L0
282
- for (int I = 0; I < WorkDim; I++) {
+ for (uint32_t I = 0; I < WorkDim; I++) {
283
UR_ASSERT(LocalWorkSize[I] < (std::numeric_limits<uint32_t>::max)(),
284
UR_RESULT_ERROR_INVALID_VALUE);
285
WG[I] = static_cast<uint32_t>(LocalWorkSize[I]);
0 commit comments