summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.h
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-02-13 10:36:29 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:02 -0700
commit95215f59825ff9def72c3bb237c58bb02c8c2411 (patch)
treeef008e44eff86a36e5a95ae44f09d9845e280522 /src/gpgpu-sim/shader.h
parentf0bfd72df3f664c2b44595d1a393ec6b535181c0 (diff)
Fixed the stat collection for gpgpu_n_shmem_insn. See Bug 128 for more detail. For verification, I added a directed test with a pre-calculated number of shared memory instructions.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11454]
Diffstat (limited to 'src/gpgpu-sim/shader.h')
-rw-r--r--src/gpgpu-sim/shader.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h
index 43121a1..d367b7f 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -834,6 +834,7 @@ public:
unsigned sid, unsigned tpc );
// modifiers
+ virtual void issue( warp_inst_t *&inst );
virtual void cycle();
void fill( mem_fetch *mf );
@@ -1283,8 +1284,6 @@ public:
}
virtual void push(mem_fetch *mf)
{
- if( !mf->get_inst().empty() )
- m_core->mem_instruction_stats(mf->get_inst()); // not I$-fetch
m_cluster->icnt_inject_request_packet(mf);
}
private: