summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
-rw-r--r--src/gpgpu-sim/gpu-sim.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 7b186aa..dd3bba7 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -685,6 +685,23 @@ void shader_core_config::reg_options(class OptionParser *opp) {
opp, "-gpgpu_enable_compaction", OPT_BOOL, &gpgpu_enable_compaction,
"Enable thread compaction into fewer SIMD sets (default = disabled)",
"0");
+ option_parser_register(
+ opp, "-gpgpu_compaction_mode", OPT_UINT32, &gpgpu_compaction_mode,
+ "Compaction mode: 0=none, 1=xor-static, 2=full. "
+ "Supersedes -gpgpu_enable_compaction (kept as deprecated alias).",
+ "0");
+ option_parser_register(
+ opp, "-gpgpu_opndcoll_read_latency", OPT_UINT32,
+ &gpgpu_opndcoll_read_latency,
+ "Extra cycles from operand-read grant to operand arriving at "
+ "collector unit (default 0 = combinational, current behavior).",
+ "0");
+ option_parser_register(
+ opp, "-gpgpu_co_issue_priority", OPT_UINT32,
+ &gpgpu_co_issue_priority,
+ "Co-issue scheduler: 0=greedy (utilization-max), 1=intra-first, "
+ "2=inter-first, 3=fewest-lanes, 4=same-PC (default 0).",
+ "0");
for (unsigned j = 0; j < SPECIALIZED_UNIT_NUM; ++j) {
std::stringstream ss;