From 14c9cd2ccd09e3f1ce8b6a4659556bbb41b971fb Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Wed, 22 Feb 2012 05:52:04 -0800 Subject: 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] --- src/gpgpu-sim/gpu-sim.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gpgpu-sim/gpu-sim.cc') 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) -- cgit v1.3