diff options
| author | Tor Aamodt <[email protected]> | 2010-10-09 09:22:16 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-10-09 09:22:16 -0800 |
| commit | 9aba275f0c2f9f7d125cb1364d991dbdcb6195c8 (patch) | |
| tree | 1d4f1e522830cb2a4fb5161122aee331bddac4ac /src/abstract_hardware_model.cc | |
| parent | 4fce546cc9778b889bd07cf852be29b70a44f47d (diff) | |
refactoring: moving texture reference mappings into gpgpu_t
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7835]
Diffstat (limited to 'src/abstract_hardware_model.cc')
| -rw-r--r-- | src/abstract_hardware_model.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc index c52be1d..b943a76 100644 --- a/src/abstract_hardware_model.cc +++ b/src/abstract_hardware_model.cc @@ -15,12 +15,12 @@ void move_warp( warp_inst_t *&dst, warp_inst_t *&src ) gpgpu_t::gpgpu_t() { - g_global_mem = new memory_space_impl<8192>("global",64*1024); - g_param_mem = new memory_space_impl<8192>("param",64*1024); - g_tex_mem = new memory_space_impl<8192>("tex",64*1024); - g_surf_mem = new memory_space_impl<8192>("surf",64*1024); + m_global_mem = new memory_space_impl<8192>("global",64*1024); + m_param_mem = new memory_space_impl<8192>("param",64*1024); + m_tex_mem = new memory_space_impl<8192>("tex",64*1024); + m_surf_mem = new memory_space_impl<8192>("surf",64*1024); - g_dev_malloc=GLOBAL_HEAP_START; + m_dev_malloc=GLOBAL_HEAP_START; } void warp_inst_t::sort_accessq( unsigned qbegin ) |
