diff options
| author | Tor Aamodt <[email protected]> | 2010-08-24 08:39:28 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-24 08:39:28 -0800 |
| commit | 4624b9f95fcdb0e3fa31d6aa1b5a2c1bd4d39536 (patch) | |
| tree | cc8b0d00e641920a9ec783c0161455d601c507d9 /src/tr1_hash_map.h | |
| parent | 7858517a1e387572e1223eb186f2721458e6bbb3 (diff) | |
integrate wilson's bug fix for cycle counting
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7257]
Diffstat (limited to 'src/tr1_hash_map.h')
| -rw-r--r-- | src/tr1_hash_map.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <unordered_map> #define tr1_hash_map std::unordered_map + #define tr1_hash_map_ismap 0 #else #include <map> #define tr1_hash_map std::map + #define tr1_hash_map_ismap 1 #endif #else #include <map> #define tr1_hash_map std::map + #define tr1_hash_map_ismap 1 #endif #endif |
