diff options
| author | Wilson Fung <[email protected]> | 2013-07-11 13:19:38 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:58 -0700 |
| commit | e480b8ac999a7132ce003f102d5d5a80a776c2f6 (patch) | |
| tree | a8f748951ac0ed32dd4cac52d4057cfd71bcc55f /src/abstract_hardware_model.h | |
| parent | 7da201cb86702aca80407b94858c380fd90aba38 (diff) | |
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]
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
