summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.cc
diff options
context:
space:
mode:
authorMahmoud Khairy A. Abdallah <[email protected]>2020-03-31 13:00:34 -0400
committerMahmoud Khairy A. Abdallah <[email protected]>2020-03-31 13:00:34 -0400
commited97d2a5b0096fb8afa4bc83fe2df515b2a2399c (patch)
tree2afd8adc73d93479eab95ae01d01db53aa038653 /src/gpgpu-sim/gpu-sim.cc
parent38a5c4d70539cdacf1ce20394027d9b705ff9c76 (diff)
adding inst fetch throughput
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
-rw-r--r--src/gpgpu-sim/gpu-sim.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 4e38f67..4ef9a7d 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -470,7 +470,9 @@ void shader_core_config::reg_options(class OptionParser * opp)
option_parser_register(opp, "-perfect_inst_const_cache", OPT_BOOL, &perfect_inst_const_cache,
"perfect inst and const cache mode, so all inst and const hits in the cache(default = disabled)",
"0");
-
+ option_parser_register(opp, "-inst_fetch_throughput", OPT_INT32, &inst_fetch_throughput,
+ "the number of fetched intruction per warp each cycle",
+ "1");
}
void gpgpu_sim_config::reg_options(option_parser_t opp)