From 9a0e4e4a776a963c9950dc3dcd0d23ee0739b755 Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Thu, 26 Jul 2012 03:22:53 -0800 Subject: 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] --- src/gpgpu-sim/stat-tool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpgpu-sim/stat-tool.cc') diff --git a/src/gpgpu-sim/stat-tool.cc b/src/gpgpu-sim/stat-tool.cc index 94998f2..6a4c75b 100644 --- a/src/gpgpu-sim/stat-tool.cc +++ b/src/gpgpu-sim/stat-tool.cc @@ -479,7 +479,7 @@ void shader_CTA_count_visualizer_gzprint( gzFile fout ) thread_insn_span::thread_insn_span(unsigned long long cycle) : m_cycle(cycle), -#ifdef USE_MAP +#if (tr1_hash_map_ismap == 1) m_insn_span_count() #else m_insn_span_count(32*1024) -- cgit v1.3