diff options
| author | sspenst <[email protected]> | 2016-08-05 14:45:56 -0700 |
|---|---|---|
| committer | sspenst <[email protected]> | 2016-08-05 14:45:56 -0700 |
| commit | d1b45cf53a39261663a3eff0d409d6c1220d923d (patch) | |
| tree | 85ab2442c3f6e581195650626c8e8586eed9e8b9 /src/abstract_hardware_model.h | |
| parent | 9a6b68c5b11fbdb239d25afe60e5135bc2afa88d (diff) | |
Added ptx_warp_info to know how many threads within a warp have executed
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 13dfce3..cfa8c9f 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -1028,6 +1028,7 @@ class core_t { m_warp_count += 1; } assert( m_warp_count * m_warp_size > 0 ); + //m_warp = ( ptx_warp_info** )calloc( m_warp_count, sizeof( ptx_warp_info* ) ); m_thread = ( ptx_thread_info** ) calloc( m_warp_count * m_warp_size, sizeof( ptx_thread_info* ) ); @@ -1063,6 +1064,7 @@ class core_t { class gpgpu_sim *m_gpu; kernel_info_t *m_kernel; simt_stack **m_simt_stack; // pdom based reconvergence context for each warp + //class ptx_warp_info ** m_warp; class ptx_thread_info ** m_thread; unsigned m_warp_size; unsigned m_warp_count; |
