Skip to content

Commit d99aaf3

Browse files
committed
fixed spawn_task_groups bug
1 parent c7c1ddd commit d99aaf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/src/vx_spawn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ static void __attribute__ ((noinline)) process_all_task_groups_stub() {
206206
process_all_task_groups();
207207

208208
// disable all warps except warp0
209-
vx_tmc(0 == warp_id);
209+
vx_tmc(0 == vx_warp_id());
210210
}
211211

212212
void vx_syncthreads(int barrier_id) {

0 commit comments

Comments
 (0)