diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-11 15:20:05 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-07-11 15:20:05 -0400 |
| commit | 93e1131cfa3ae9e98dcc91e3c83c9b2c228a2633 (patch) | |
| tree | 0f03bd3dba5a9309dfd5bcb24471e50bfb842d08 /src/cuda-sim/ptx_sim.cc | |
| parent | b1385157251803aa45eaff154637218c9f6b15b1 (diff) | |
Move g_ptx_thread_info_delete_count
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_sim.cc')
| -rw-r--r-- | src/cuda-sim/ptx_sim.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cuda-sim/ptx_sim.cc b/src/cuda-sim/ptx_sim.cc index cd402d5..9e84cbd 100644 --- a/src/cuda-sim/ptx_sim.cc +++ b/src/cuda-sim/ptx_sim.cc @@ -168,11 +168,10 @@ void ptx_warp_info::reset_done_threads() } unsigned g_ptx_thread_info_uid_next=1; -unsigned g_ptx_thread_info_delete_count=0; ptx_thread_info::~ptx_thread_info() { - g_ptx_thread_info_delete_count++; + m_gpu->gpgpu_ctx->func_sim->g_ptx_thread_info_delete_count++; } ptx_thread_info::ptx_thread_info( kernel_info_t &kernel ) |
