summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.cc
diff options
context:
space:
mode:
authorMahmoud Khairy A. Abdallah <[email protected]>2020-03-31 20:43:41 -0400
committerMahmoud Khairy A. Abdallah <[email protected]>2020-03-31 20:43:41 -0400
commit3633eacca183608fe1a666212ba468b787c063a5 (patch)
tree928d7f43a2d2e62af4da2a989d68a0b952323856 /src/gpgpu-sim/gpu-sim.cc
parentcc5d6636df7388e44c5203e5580a2aa50c0fd6b1 (diff)
adding new comments
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 4ef9a7d..94ea6d2 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -473,6 +473,9 @@ void shader_core_config::reg_options(class OptionParser * opp)
option_parser_register(opp, "-inst_fetch_throughput", OPT_INT32, &inst_fetch_throughput,
"the number of fetched intruction per warp each cycle",
"1");
+ option_parser_register(opp, "-gpgpu_reg_file_port_throughput", OPT_INT32, &reg_file_port_throughput,
+ "the number ports of the register file",
+ "1");
}
void gpgpu_sim_config::reg_options(option_parser_t opp)