diff options
| author | Tor Aamodt <[email protected]> | 2010-08-08 23:57:43 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-08 23:57:43 -0800 |
| commit | 06d6f3bb15f4c1dc56943304696ac83b36413907 (patch) | |
| tree | 95ea0c28ede4f251f8ad8e2aef0d06f5c37087bb /src/cuda-sim/ptx_sim.cc | |
| parent | 529b3a65b65536e20f6a1dab135233f52d19bcf3 (diff) | |
refactor: shader.cc free of extern declarations
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7176]
Diffstat (limited to 'src/cuda-sim/ptx_sim.cc')
| -rw-r--r-- | src/cuda-sim/ptx_sim.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cuda-sim/ptx_sim.cc b/src/cuda-sim/ptx_sim.cc index 31c8c81..2156bd6 100644 --- a/src/cuda-sim/ptx_sim.cc +++ b/src/cuda-sim/ptx_sim.cc @@ -64,6 +64,7 @@ #include "ptx_sim.h" #include <string> #include "ptx_ir.h" +#include "../gpgpu-sim/gpu-sim.h" void feature_not_implemented( const char *f ); @@ -249,8 +250,6 @@ const ptx_version &ptx_thread_info::get_ptx_version() const return m_func_info->get_ptx_version(); } -extern unsigned long long gpu_sim_cycle; - void ptx_thread_info::set_done() { assert( !m_at_barrier ); @@ -258,9 +257,6 @@ void ptx_thread_info::set_done() m_cycle_done = gpu_sim_cycle; } -extern unsigned long long gpu_sim_cycle; -extern signed long long gpu_tot_sim_cycle; - unsigned ptx_thread_info::get_builtin( int builtin_id, unsigned dim_mod ) { assert( m_valid ); |
