From e0f1b4359832ba2952ddcff3a400cd7e1e3d02b5 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Tue, 5 Oct 2010 13:34:47 -0800 Subject: 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] --- src/gpgpu-sim/mem_fetch.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/gpgpu-sim/mem_fetch.cc') 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 -- cgit v1.3