From 0d71376678778ea7f62556d997c71baa43fb2fbe Mon Sep 17 00:00:00 2001 From: Davit Grigoryan Date: Fri, 24 Apr 2026 22:53:58 +0000 Subject: fix global mem reqs coalescing --- src/gpgpu-sim/mem_fetch.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gpgpu-sim/mem_fetch.h') 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 > & + 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; } -- cgit v1.3