summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.cc
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-10-16 16:34:27 -0400
committerMahmoud <[email protected]>2019-10-16 16:34:27 -0400
commit48d13eea4b03bd07e383e6991be437a9e5395a51 (patch)
tree5e40592c89d6cc646c32f263bc19019bf3f972c8 /src/gpgpu-sim/gpu-sim.cc
parent2f2ee7256ffd03e9bce838f74651254c1588cb39 (diff)
adding perfect inst and const support
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
-rw-r--r--src/gpgpu-sim/gpu-sim.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index a9462f5..7f9985e 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -467,6 +467,9 @@ void shader_core_config::reg_options(class OptionParser * opp)
option_parser_register(opp, "-gpgpu_concurrent_kernel_sm", OPT_BOOL, &gpgpu_concurrent_kernel_sm,
"Support concurrent kernels on a SM (default = disabled)",
"0");
+ option_parser_register(opp, "-perfect_inst_const_cache", OPT_BOOL, &perfect_inst_const_cache,
+ "perfect inst and const cache mode, so all inst and const hits in the cache(default = disabled)",
+ "0");
}