From 4624b9f95fcdb0e3fa31d6aa1b5a2c1bd4d39536 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Tue, 24 Aug 2010 08:39:28 -0800 Subject: integrate wilson's bug fix for cycle counting [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7257] --- src/tr1_hash_map.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tr1_hash_map.h') diff --git a/src/tr1_hash_map.h b/src/tr1_hash_map.h index 3f31576..1ff7c8e 100644 --- a/src/tr1_hash_map.h +++ b/src/tr1_hash_map.h @@ -6,13 +6,16 @@ #if __GNUC__ >= 4 && __GNUC_MINOR__ >= 3 #include #define tr1_hash_map std::unordered_map + #define tr1_hash_map_ismap 0 #else #include #define tr1_hash_map std::map + #define tr1_hash_map_ismap 1 #endif #else #include #define tr1_hash_map std::map + #define tr1_hash_map_ismap 1 #endif #endif -- cgit v1.3