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.cc | |
| 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.cc')
| -rw-r--r-- | src/abstract_hardware_model.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc index fcaa19b..955de64 100644 --- a/src/abstract_hardware_model.cc +++ b/src/abstract_hardware_model.cc @@ -548,8 +548,6 @@ void simt_stack::launch( address_type start_pc, const simt_mask_t &active_mask ) new_stack_entry.m_pc = start_pc; new_stack_entry.m_calldepth = 1; new_stack_entry.m_active_mask = active_mask; - new_stack_entry.m_recvg_pc = -1; - new_stack_entry.m_branch_div_cycle = 0; new_stack_entry.m_type = STACK_ENTRY_TYPE_NORMAL; m_stack.push_back(new_stack_entry); } @@ -650,7 +648,6 @@ void simt_stack::update( simt_mask_t &thread_done, addr_vector_t &next_pc, addre simt_stack_entry new_stack_entry; new_stack_entry.m_pc = tmp_next_pc; new_stack_entry.m_active_mask = tmp_active_mask; - new_stack_entry.m_recvg_pc = -1; new_stack_entry.m_branch_div_cycle = gpu_sim_cycle+gpu_tot_sim_cycle; new_stack_entry.m_type = STACK_ENTRY_TYPE_CALL; m_stack.push_back(new_stack_entry); @@ -688,8 +685,6 @@ void simt_stack::update( simt_mask_t &thread_done, addr_vector_t &next_pc, addre m_stack.back().m_branch_div_cycle = gpu_sim_cycle+gpu_tot_sim_cycle; m_stack.push_back(simt_stack_entry()); - m_stack.back().m_branch_div_cycle = 0; - m_stack.back().m_recvg_pc = -1; } } @@ -707,8 +702,6 @@ void simt_stack::update( simt_mask_t &thread_done, addr_vector_t &next_pc, addre } m_stack.push_back(simt_stack_entry()); - m_stack.back().m_branch_div_cycle = 0; - m_stack.back().m_recvg_pc = -1; } assert(m_stack.size() > 0); m_stack.pop_back(); |
