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/abstract_hardware_model.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/abstract_hardware_model.cc (limited to 'src/abstract_hardware_model.cc') diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc new file mode 100644 index 0000000..f5149eb --- /dev/null +++ b/src/abstract_hardware_model.cc @@ -0,0 +1,11 @@ +#include "abstract_hardware_model.h" + +void move_warp( warp_inst_t *&dst, warp_inst_t *&src ) +{ + assert( dst->empty() ); + warp_inst_t* temp = dst; + dst = src; + src = temp; + src->clear(); +} + -- cgit v1.3