summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/icnt_wrapper.cc
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2020-07-13 20:57:59 -0700
committerGitHub <[email protected]>2020-07-13 20:57:59 -0700
commit707b2e1e86e71fa8b3eac18337f17062422bdd2b (patch)
tree6f2fcdc6f82f09b2469bd4e21a9c17504b5be01a /src/gpgpu-sim/icnt_wrapper.cc
parent78a52b027e7ca30860fdf8366c08c0590f857810 (diff)
parentce3f02dc00e13ccd0a3929282231c7e0116be4b5 (diff)
Merge pull request #190 from accel-sim/dev
Merging the final bits of the 4.0 release from the ISCA paper.
Diffstat (limited to 'src/gpgpu-sim/icnt_wrapper.cc')
-rw-r--r--src/gpgpu-sim/icnt_wrapper.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gpgpu-sim/icnt_wrapper.cc b/src/gpgpu-sim/icnt_wrapper.cc
index 890638a..82785dc 100644
--- a/src/gpgpu-sim/icnt_wrapper.cc
+++ b/src/gpgpu-sim/icnt_wrapper.cc
@@ -144,16 +144,20 @@ void icnt_reg_options(class OptionParser* opp) {
"Interconnection network config file", "mesh");
// parameters for local xbar
- option_parser_register(opp, "-inct_in_buffer_limit", OPT_UINT32,
+ option_parser_register(opp, "-icnt_in_buffer_limit", OPT_UINT32,
&g_inct_config.in_buffer_limit, "in_buffer_limit",
"64");
- option_parser_register(opp, "-inct_out_buffer_limit", OPT_UINT32,
+ option_parser_register(opp, "-icnt_out_buffer_limit", OPT_UINT32,
&g_inct_config.out_buffer_limit, "out_buffer_limit",
"64");
- option_parser_register(opp, "-inct_subnets", OPT_UINT32,
+ option_parser_register(opp, "-icnt_subnets", OPT_UINT32,
&g_inct_config.subnets, "subnets", "2");
- option_parser_register(opp, "-arbiter_algo", OPT_UINT32,
+ option_parser_register(opp, "-icnt_arbiter_algo", OPT_UINT32,
&g_inct_config.arbiter_algo, "arbiter_algo", "1");
+ option_parser_register(opp, "-icnt_verbose", OPT_UINT32,
+ &g_inct_config.verbose, "inct_verbose", "0");
+ option_parser_register(opp, "-icnt_grant_cycles", OPT_UINT32,
+ &g_inct_config.grant_cycles, "grant_cycles", "1");
}
void icnt_wrapper_init() {