summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_sim.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-08-24 08:39:28 -0800
committerTor Aamodt <[email protected]>2010-08-24 08:39:28 -0800
commit4624b9f95fcdb0e3fa31d6aa1b5a2c1bd4d39536 (patch)
treecc8b0d00e641920a9ec783c0161455d601c507d9 /src/cuda-sim/ptx_sim.h
parent7858517a1e387572e1223eb186f2721458e6bbb3 (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/cuda-sim/ptx_sim.h')
-rw-r--r--src/cuda-sim/ptx_sim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cuda-sim/ptx_sim.h b/src/cuda-sim/ptx_sim.h
index e9270be..d712275 100644
--- a/src/cuda-sim/ptx_sim.h
+++ b/src/cuda-sim/ptx_sim.h
@@ -69,6 +69,7 @@
#include "dram_callback.h"
#include "../abstract_hardware_model.h"
+#include "../tr1_hash_map.h"
struct gpgpu_ptx_sim_arg {
@@ -94,7 +95,6 @@ struct gpgpu_ptx_sim_kernel_info {
#include <map>
#include <set>
#include <list>
-#include <unordered_map>
#include "memory.h"
@@ -464,7 +464,7 @@ private:
std::list<stack_entry> m_callstack;
unsigned m_local_mem_stack_pointer;
- typedef std::unordered_map<const symbol*,ptx_reg_t> reg_map_t;
+ typedef tr1_hash_map<const symbol*,ptx_reg_t> reg_map_t;
std::list<reg_map_t> m_regs;
bool m_enable_debug_trace;