summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/mem_fetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgpu-sim/mem_fetch.h')
-rw-r--r--src/gpgpu-sim/mem_fetch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpgpu-sim/mem_fetch.h b/src/gpgpu-sim/mem_fetch.h
index add4792..cdeeac2 100644
--- a/src/gpgpu-sim/mem_fetch.h
+++ b/src/gpgpu-sim/mem_fetch.h
@@ -102,6 +102,12 @@ class mem_fetch {
unsigned get_access_source_split_id() const {
return m_access.get_source_split_id();
}
+ // MEMCO v3 inter-set coalescing: list of (wid, split_id) pairs whose lanes
+ // were merged into this mf's access. Empty for legacy / unmerged accesses.
+ const std::vector<std::pair<unsigned, unsigned> > &
+ get_access_source_list() const {
+ return m_access.get_source_list();
+ }
bool istexture() const;
bool isconst() const;
enum mf_type get_type() const { return m_type; }