From e480b8ac999a7132ce003f102d5d5a80a776c2f6 Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Thu, 11 Jul 2013 13:19:38 -0800 Subject: Adding option to force global memory accesses to skip L1 data cache while still caching data from local memory space. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16601] --- src/abstract_hardware_model.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/abstract_hardware_model.h') diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 883e122..8e2e759 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -533,6 +533,7 @@ public: void set_bank( unsigned b ) { m_bank = b; } bool is_const() const { return (m_type == const_space) || (m_type == param_space_kernel); } bool is_local() const { return (m_type == local_space) || (m_type == param_space_local); } + bool is_global() const { return (m_type == global_space); } private: enum _memory_space_t m_type; -- cgit v1.3