summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.cc
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-07-26 03:22:53 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:48:52 -0700
commit9a0e4e4a776a963c9950dc3dcd0d23ee0739b755 (patch)
tree70c6f73230fe8fcfdd0fd2a3a7eb525e1f145b80 /src/abstract_hardware_model.cc
parent1c7ed16cc28f1d740ac7abc773eb4016d49fcba4 (diff)
Clean up the unordered_map fallback support.
- Now there is only one macro for all use of unordered_map in the code. - Moving all instances of gcc/cuda version detection into a single file. - Adding a warning when the fallback is triggered. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13542]
Diffstat (limited to 'src/abstract_hardware_model.cc')
-rw-r--r--src/abstract_hardware_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc
index 955de64..dd1e755 100644
--- a/src/abstract_hardware_model.cc
+++ b/src/abstract_hardware_model.cc
@@ -383,7 +383,7 @@ void warp_inst_t::memory_coalescing_arch_13_atomic( bool is_write, mem_access_ty
unsigned subwarp_size = m_config->warp_size / warp_parts;
for( unsigned subwarp=0; subwarp < warp_parts; subwarp++ ) {
- std::map<new_addr_type,std::list<transaction_info>> subwarp_transactions; // each block addr maps to a list of transactions
+ std::map<new_addr_type,std::list<transaction_info> > subwarp_transactions; // each block addr maps to a list of transactions
// step 1: find all transactions generated by this subwarp
for( unsigned thread=subwarp*subwarp_size; thread<subwarp_size*(subwarp+1); thread++ ) {