gpu-compute: update GPUKernelInfo print to print WG number (#1413)
Whenever a GPU kernel is launching a new WG, the GPUKernelInfo debug flag will print that the kernel is being launched, without the context of which WG from that kernel is being launched. This has caused some confusion to users, who think the entire kernel is being launched repeatedly. To resolve this confusion, update this print to make it clear which WG is being launched when this print is enabled.
This commit is contained in:
@@ -206,7 +206,8 @@ GPUDispatcher::exec()
|
||||
} else if (!launched) {
|
||||
launched = true;
|
||||
disp_count++;
|
||||
DPRINTF(GPUKernelInfo, "Launched kernel %d\n", exec_id);
|
||||
DPRINTF(GPUKernelInfo, "Launched kernel %d for WG %d\n",
|
||||
exec_id, disp_count);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user