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:
Matt Sinclair
2024-08-05 14:43:41 -05:00
committed by GitHub
parent 7b1948c18c
commit ba455e2025

View File

@@ -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);
}
}