Skip to content

Commit 495f397

Browse files
author
Wu Yingcong
authored
[UR][L0] fix sign-compare error (#18408)
Fix breakage in https://github.com/intel/llvm/actions/runs/14966482804/job/42038058823?pr=18370
1 parent 3e54524 commit 495f397

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • unified-runtime/source/adapters/level_zero

unified-runtime/source/adapters/level_zero/kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ ur_result_t urEnqueueCooperativeKernelLaunchExp(
279279

280280
if (LocalWorkSize) {
281281
// L0
282-
for (int I = 0; I < WorkDim; I++) {
282+
for (uint32_t I = 0; I < WorkDim; I++) {
283283
UR_ASSERT(LocalWorkSize[I] < (std::numeric_limits<uint32_t>::max)(),
284284
UR_RESULT_ERROR_INVALID_VALUE);
285285
WG[I] = static_cast<uint32_t>(LocalWorkSize[I]);

0 commit comments

Comments
 (0)