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/gpgpu-sim/gpu-sim.cc | |
| 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/gpgpu-sim/gpu-sim.cc')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index 2de9a4f..5fa487a 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -224,6 +224,9 @@ void shader_core_config::reg_options(class OptionParser * opp) "per-shader L1 data cache config " " {<nsets>:<bsize>:<assoc>,<rep>:<wr>:<alloc>:<wr_alloc>,<mshr>:<N>:<merge>,<mq> | none}", "none" ); + option_parser_register(opp, "-gmem_skip_L1D", OPT_BOOL, &gmem_skip_L1D, + "global memory access skip L1D cache (implements -Xptxas -dlcm=cg, default=no skip)", + "0"); option_parser_register(opp, "-gpgpu_perfect_mem", OPT_BOOL, &gpgpu_perfect_mem, "enable perfect memory mode (no cache miss)", |
