diff options
| author | Inderpreet Singh <[email protected]> | 2012-07-25 22:12:47 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:48:52 -0700 |
| commit | 1c7ed16cc28f1d740ac7abc773eb4016d49fcba4 (patch) | |
| tree | 593e06014fbc1b643b01dbdab20ff49930fafe64 /src/abstract_hardware_model.h | |
| parent | a9d33abb43566caa2ef52643e73fc66a3187018a (diff) | |
Fixed gcc-4.3 warning related to SIMT stack in CL13519
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13535]
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 f3957c4..bb5c490 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -254,6 +254,8 @@ struct simt_stack_entry { address_type m_recvg_pc; unsigned long long m_branch_div_cycle; stack_entry_type m_type; + simt_stack_entry() : + m_pc(-1), m_calldepth(0), m_active_mask(), m_recvg_pc(-1), m_branch_div_cycle(0), m_type(STACK_ENTRY_TYPE_NORMAL) { }; }; class simt_stack { |
