summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.h
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2013-07-11 13:19:38 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:58 -0700
commite480b8ac999a7132ce003f102d5d5a80a776c2f6 (patch)
treea8f748951ac0ed32dd4cac52d4057cfd71bcc55f /src/gpgpu-sim/shader.h
parent7da201cb86702aca80407b94858c380fd90aba38 (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/gpgpu-sim/shader.h')
-rw-r--r--src/gpgpu-sim/shader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h
index 7c99ac5..f141019 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -1272,6 +1272,8 @@ struct shader_core_config : public core_config
mutable cache_config m_L1C_config;
mutable cache_config m_L1D_config;
+ bool gmem_skip_L1D; // on = global memory access always skip the L1 cache
+
bool gpgpu_dwf_reg_bankconflict;
int gpgpu_num_sched_per_core;