Skip to content

Commit 26a1231

Browse files
committed
fix
1 parent 827b28c commit 26a1231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

offload/plugins-nextgen/level_zero/src/L0Kernel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ Error L0KernelTy::setKernelGroups(L0DeviceTy &l0Device, L0LaunchEnvTy &KEnv,
354354
return Plugin::success();
355355
}
356356

357-
int32_t NumTeams = NumThreads[0];
358-
int32_t ThreadLimit = NumBlocks[0];
357+
int32_t NumTeams = NumBlocks[0];
358+
int32_t ThreadLimit = NumThreads[0];
359359
if (NumTeams < 0)
360360
NumTeams = 0;
361361
if (ThreadLimit < 0)

0 commit comments

Comments
 (0)