diff options
| author | Dongdong Li <[email protected]> | 2013-11-22 11:31:19 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:59 -0700 |
| commit | 3f74773ce1ffe8ed5044a103d84459b56d4e9c20 (patch) | |
| tree | f7265582ead4f320b890fa744ac6af093b9e27e0 /src/intersim2/intersim_config.cpp | |
| parent | 24f29469c042761d8b8d185c374493fbde79aca4 (diff) | |
Update with Booksim2.0 from Stanford
- Warning fixed
- Unused file deleted
- Add support for node map configuration.
Code Review: Issue 93001
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17410]
Diffstat (limited to 'src/intersim2/intersim_config.cpp')
| -rw-r--r-- | src/intersim2/intersim_config.cpp | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/src/intersim2/intersim_config.cpp b/src/intersim2/intersim_config.cpp index 742fe9a..502419f 100644 --- a/src/intersim2/intersim_config.cpp +++ b/src/intersim2/intersim_config.cpp @@ -33,22 +33,27 @@ IntersimConfig::IntersimConfig() _int_map["perfect_icnt"] = 0; // if set overrides fixed_lat_per_hop setting _int_map["fixed_lat_per_hop"] = 0; // if set icnt is NOT simulated instead packets are sent into destination based on a fixed_lat_per_hop - _int_map["network_count"] = 2; // number of independent interconnection networks (if it is set to 2 then 2 identical networks are created: sh2mem and mem2shd ) - - _int_map["output_extra_latency"] = 0; - + _int_map["use_map"] = 1; - + // config SMs and memory nodes map + AddStrField("memory_node_map", ""); + _int_map["flit_size"] = 32; - //stats - _int_map["enable_link_stats"] = 0; // show output link and VC utilization stats + _int_map["input_buffer_size"] = 0; + _int_map["ejection_buffer_size"] = 0; // if left zero the simulator will use the vc_buf_size instead + _int_map["boundary_buffer_size"] = 16; + + + // FIXME: obsolete, unsupport configs + _int_map["output_extra_latency"] = 0; + _int_map["network_count"] = 2; // number of independent interconnection networks (if it is set to 2 then 2 identical networks are created: sh2mem and mem2shd ) + _int_map["enable_link_stats"] = 0; // show output link and VC utilization stats + + //stats _int_map["MATLAB_OUTPUT"] = 0; // output data in MATLAB friendly format _int_map["DISPLAY_LAT_DIST"] = 0; // distribution of packet latencies _int_map["DISPLAY_HOP_DIST"] = 0; // distribution of hop counts _int_map["DISPLAY_PAIR_LATENCY"] = 0; // avg. latency for each s-d pair - - _int_map["input_buffer_size"] = 0; - _int_map["ejection_buffer_size"] = 0; // if left zero the simulator will use the vc_buf_size instead - _int_map["boundary_buffer_size"] = 16; + }
\ No newline at end of file |
