diff options
| author | Tim Rogers <[email protected]> | 2019-05-13 19:42:43 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-05-13 19:42:43 -0400 |
| commit | cbb929b6f15f63f0b104e2acac7a17f02c0208fe (patch) | |
| tree | ed2bf825d27848c818a9293075cf9b9d73a26864 /src/gpgpu-sim/icnt_wrapper.h | |
| parent | f507979bcf0f14d1e5843c9b08613d6b0a4bb7a2 (diff) | |
| parent | 059dabc1af44b8eb60f0cacc8d5c2d06f1e85a00 (diff) | |
Merge pull request #118 from mkhairy/dev
Integrating Mahmoud's changes that improve simulation speed by 2-3x.
Also includes a change that mitigates memory channel conflicts by using a random hashing function.
Diffstat (limited to 'src/gpgpu-sim/icnt_wrapper.h')
| -rw-r--r-- | src/gpgpu-sim/icnt_wrapper.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpgpu-sim/icnt_wrapper.h b/src/gpgpu-sim/icnt_wrapper.h index a4d123e..e1086f9 100644 --- a/src/gpgpu-sim/icnt_wrapper.h +++ b/src/gpgpu-sim/icnt_wrapper.h @@ -57,13 +57,16 @@ extern icnt_display_stats_p icnt_display_stats; extern icnt_display_overall_stats_p icnt_display_overall_stats; extern icnt_display_state_p icnt_display_state; extern icnt_get_flit_size_p icnt_get_flit_size; -extern int g_network_mode; +extern unsigned g_network_mode; enum network_mode { INTERSIM = 1, + LOCAL_XBAR = 2, N_NETWORK_MODE }; + + void icnt_wrapper_init(); void icnt_reg_options( class OptionParser * opp ); |
