diff options
| author | Wilson Fung <[email protected]> | 2011-01-20 18:59:45 -0800 |
|---|---|---|
| committer | Wilson Fung <[email protected]> | 2011-01-20 18:59:45 -0800 |
| commit | 34149bec142ba633f1e1b26a528ef6d77a05a3f6 (patch) | |
| tree | 57d6126ef2f1b294dcba69e8607531748ed7a371 /src/gpgpu-sim/gpu-sim.cc | |
| parent | f18e4327b836ac66843a1c21cb429cc71bea9714 (diff) | |
Integration change. Bug fixes from AMD-CMU trace gen branch.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8389]
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index 05a9b55..1526ef3 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -711,6 +711,7 @@ void shader_core_ctx::issue_block2core( kernel_info_t &kernel ) m_thread[i].m_cta_id = free_cta_hw_id; unsigned warp_id = i/m_config->warp_size; nthreads_in_block += ptx_sim_init_thread(kernel,&m_thread[i].m_functional_model_thread_state,m_sid,i,cta_size-(i-start_thread),m_config->n_thread_per_shader,this,free_cta_hw_id,warp_id,m_cluster->get_gpu()); + m_thread[i].m_active = true; warps.set( warp_id ); } assert( nthreads_in_block > 0 && nthreads_in_block <= m_config->n_thread_per_shader); // should be at least one, but less than max |
