summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/mem_fetch.cc
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-10-05 13:34:47 -0800
committerTor Aamodt <[email protected]>2010-10-05 13:34:47 -0800
commite0f1b4359832ba2952ddcff3a400cd7e1e3d02b5 (patch)
tree12f3dbd8366e15b4a9a299b0368df6fafea11847 /src/gpgpu-sim/mem_fetch.cc
parentd859e08188eb5863888a9b018cf4aec6d0419c40 (diff)
broken change list: builds, but does not run, yet
refactoring: create warp_inst_t that provides notion of a group of scalar instructions traveling down the pipeline. delete DWF delete MIMD delete warp_tracker delete old writeback stage, replace it with a stub that just writes back everything delete old pipeline model current status: MSHR's need to change to deal with the new structure [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7814]
Diffstat (limited to 'src/gpgpu-sim/mem_fetch.cc')
-rw-r--r--src/gpgpu-sim/mem_fetch.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gpgpu-sim/mem_fetch.cc b/src/gpgpu-sim/mem_fetch.cc
index 296a834..e2bc3e3 100644
--- a/src/gpgpu-sim/mem_fetch.cc
+++ b/src/gpgpu-sim/mem_fetch.cc
@@ -115,10 +115,7 @@ void mem_fetch::set_status( enum mshr_status status, enum mem_req_stat stat, uns
{
if ( mshr ) {
mshr->set_status(status);
- if( mshr->has_inst() )
- time_vector_update(mshr->get_insts_uid(),stat,cycle,type);
- else
- time_vector_update(request_uid,stat,cycle,type);
+ time_vector_update(request_uid,stat,cycle,type);
}
}
@@ -130,8 +127,7 @@ bool mem_fetch::isatomic() const
void mem_fetch::do_atomic()
{
- dram_callback_t &cb = mshr->get_atomic_callback();
- cb.function(cb.instruction, cb.thread);
+ mshr->do_atomic();
}
bool mem_fetch::isinst() const