diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-08 15:45:05 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-07-08 15:45:05 -0400 |
| commit | 8f6668941cf2728dba9700e45f11f61401a1fcf4 (patch) | |
| tree | 91527bc9053638117506a5caa2694294e796e67c /src/gpgpu-sim | |
| parent | 7c13f6c7cc7fd598b268810c903983b79606f3ca (diff) | |
Move g_ptx_sim_num_insn
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/gpgpu-sim')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 2 | ||||
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index 39acdd9..4f9ccbf 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -699,7 +699,7 @@ void gpgpu_sim::stop_all_running_kernels(){ } gpgpu_sim::gpgpu_sim( const gpgpu_sim_config &config, gpgpu_context* ctx ) - : gpgpu_t(config), m_config(config) + : gpgpu_t(config, ctx), m_config(config) { gpgpu_ctx = ctx; m_shader_config = &m_config.m_shader_config; diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h index b47ab16..119b934 100644 --- a/src/gpgpu-sim/gpu-sim.h +++ b/src/gpgpu-sim/gpu-sim.h @@ -62,6 +62,8 @@ #define SAMPLELOG 222 #define DUMPLOG 333 +class gpgpu_context; + extern tr1_hash_map<new_addr_type,unsigned> address_random_interleaving; enum dram_ctrl_t { |
