summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.cc
diff options
context:
space:
mode:
authorDavit Grigoryan <[email protected]>2026-04-19 03:35:21 +0000
committerDavit Grigoryan <[email protected]>2026-04-19 03:35:21 +0000
commit41d57f85442b53f3ce9d8f81a44e1ec4296e6f41 (patch)
treebfa839c1b6fe7f53467fcad4cf248cb0ce8a2dde /src/gpgpu-sim/gpu-sim.cc
parent966b202df2441204386bad4d8bcd2c1d47aedd36 (diff)
add option for dbg prints
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
-rw-r--r--src/gpgpu-sim/gpu-sim.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 7b947fb..cd38857 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -703,6 +703,14 @@ void shader_core_config::reg_options(class OptionParser *opp) {
"2=inter-first (matches pre-Change-4 behavior), 3=fewest-lanes, "
"4=same-PC (default 2).",
"2");
+ option_parser_register(
+ opp, "-gpgpu_simd_partitioning_debug", OPT_BOOL,
+ &gpgpu_simd_partitioning_debug,
+ "Enable per-cycle `SIMD_SETS:` printf spam from the co-issue "
+ "scheduler (default off). Aggregate counts are always available in "
+ "the `gpu_tot_inter_warp_coissue` / `gpu_tot_intra_warp_coissue` "
+ "stats; only turn this on for quick_tests that grep the raw lines.",
+ "0");
for (unsigned j = 0; j < SPECIALIZED_UNIT_NUM; ++j) {
std::stringstream ss;