summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.cc
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-02-22 05:52:04 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:03 -0700
commit14c9cd2ccd09e3f1ce8b6a4659556bbb41b971fb (patch)
treecbce5f9fd9cd0a00322d6843a17411e987473319 /src/gpgpu-sim/gpu-sim.cc
parentf14d1687d360a9a9007eacec680a4a71cf9bc76b (diff)
Adding option 'gpgpu_simt_core_sim_order' which allow the user to specify the order in which cores are simulator per cycle. Also adding support for calling function with empty parameter list.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11489]
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
-rw-r--r--src/gpgpu-sim/gpu-sim.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 3200c9c..bd77c7b 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -236,6 +236,9 @@ void shader_core_config::reg_options(class OptionParser * opp)
option_parser_register(opp, "-gpgpu_max_insn_issue_per_warp", OPT_INT32, &gpgpu_max_insn_issue_per_warp,
"Max number of instructions that can be issued per warp in one cycle by scheduler",
"2");
+ option_parser_register(opp, "-gpgpu_simt_core_sim_order", OPT_INT32, &simt_core_sim_order,
+ "Select the simulation order of cores in a cluster (0=Fix, 1=Round-Robin)",
+ "1");
}
void gpgpu_sim_config::reg_options(option_parser_t opp)