diff options
| author | Mahmoud <[email protected]> | 2017-10-13 22:20:57 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2017-10-13 22:20:57 -0400 |
| commit | 07b375cc0c0da2b8a8ca7263f11ecca8ebaf8fe9 (patch) | |
| tree | 2bb4ae6efeb9d04f6a775f6f7ecb5869f2931840 /src/gpgpu-sim/gpu-sim.cc | |
| parent | 6e60441e5724f3d9dd974c17ca67e7bf3e1f990b (diff) | |
ensure that first launch uses simt cluster 0
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index eac92b4..470fcf4 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -671,7 +671,7 @@ gpgpu_sim::gpgpu_sim( const gpgpu_sim_config &config ) m_running_kernels.resize( config.max_concurrent_kernel, NULL ); m_last_issued_kernel = 0; - m_last_cluster_issue = 0; + m_last_cluster_issue = m_shader_config->n_simt_clusters-1; // this causes first launch to use simt cluster 0 *average_pipeline_duty_cycle=0; *active_sms=0; |
