From 3f74773ce1ffe8ed5044a103d84459b56d4e9c20 Mon Sep 17 00:00:00 2001 From: Dongdong Li Date: Fri, 22 Nov 2013 11:31:19 -0800 Subject: 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] --- src/intersim2/intersim_config.cpp | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'src/intersim2/intersim_config.cpp') 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 -- cgit v1.3