diff options
| author | Tor Aamodt <[email protected]> | 2010-10-09 07:58:44 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-10-09 07:58:44 -0800 |
| commit | 4fce546cc9778b889bd07cf852be29b70a44f47d (patch) | |
| tree | 212ac4a08cd777ef329cbaa7f74da730c82be1df /src/debug.cc | |
| parent | b64d38562079a7d4720c15c9f6309912f4090795 (diff) | |
Refactoring:
1. Moving mem_access_t to abstract_hardware_model and making set (queue) of
accesses part of warp_inst_t. I.e., treat set of accesses as an ISA concept
rather than a hardware organization concept. This is only partly "done"...
logic for computing accesses is still part of shader_core_ctx in this CL.
Given number of warp_inst_t accessors for accessq, now seems like we might even
want to move some memory stage code into warp_inst_t class. How those
accesses make it to memory system is the hardware concept.
2. Making warp_inst_t an explicit arguement of subroutines used in memory stage...
The eventual goal here is (likely) to refactor memory into a hardware block...
i.e., have function units be a class that contains some set of pipeline stages
internally and some set of input/output "ports".
3. Moving accessor functions is_load, is_store; is_const, is_local into class
declaration (where they belong).
4. Removing code for selecting pipeline uarch (might add it back later, but first
want a clean GT200 organization). In particular, removing option to have an
operand collector -- now you MUST have the operand collector.
5. Removing more deadcode from prior changes (fixed delay queue related)
Scripts/configs:
6. Correlation script not printing out exit condition when hardware launch fails
7. Update config files to have proper compute model selected
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7834]
Diffstat (limited to 'src/debug.cc')
| -rw-r--r-- | src/debug.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/debug.cc b/src/debug.cc index c1aa3c6..928c057 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -85,9 +85,8 @@ void gpgpu_sim::gpgpu_debug() } } else { for( unsigned sid=0; sid < m_n_shader; sid++ ) { - unsigned hw_thread_id = m_sc[sid]->first_valid_thread(IF_ID); - if( hw_thread_id == (unsigned)-1 ) - continue; + unsigned hw_thread_id = -1; + abort(); ptx_thread_info *thread = m_sc[sid]->get_functional_thread(hw_thread_id); if( thread_at_brkpt(thread, b) ) { done = false; |
