summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron M Barnes <[email protected]>2022-02-18 10:14:39 -0500
committerAaron M Barnes <[email protected]>2022-02-18 10:14:39 -0500
commit8f71be8754506aa37ad905c2958915a1256375c3 (patch)
tree99611378b2d5127e93568b61d46844e879d326d0
parent43198e9c34c4ac2c215c90f9b9768b737b23e429 (diff)
update max_concurrent kernel based on compute capability
-rw-r--r--configs/tested-cfgs/SM7_QV100/gpgpusim.config1
-rw-r--r--src/gpgpu-sim/gpu-sim.cc3
2 files changed, 3 insertions, 1 deletions
diff --git a/configs/tested-cfgs/SM7_QV100/gpgpusim.config b/configs/tested-cfgs/SM7_QV100/gpgpusim.config
index 76c99b7..8d2b101 100644
--- a/configs/tested-cfgs/SM7_QV100/gpgpusim.config
+++ b/configs/tested-cfgs/SM7_QV100/gpgpusim.config
@@ -50,6 +50,7 @@
-gpgpu_runtime_pending_launch_count_limit 2048
-gpgpu_kernel_launch_latency 5000
-gpgpu_TB_launch_latency 0
+-gpgpu_max_concurrent_kernel 128
# Compute Capability
-gpgpu_compute_capability_major 7
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 8284ad3..5af244b 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -701,7 +701,8 @@ void gpgpu_sim_config::reg_options(option_parser_t opp) {
"500.0:2000.0:2000.0:2000.0");
option_parser_register(
opp, "-gpgpu_max_concurrent_kernel", OPT_INT32, &max_concurrent_kernel,
- "maximum kernels that can run concurrently on GPU", "8");
+ "maximum kernels that can run concurrently on GPU, set this value "
+ "according to max resident grids for your compute capability", "32");
option_parser_register(
opp, "-gpgpu_cflog_interval", OPT_INT32, &gpgpu_cflog_interval,
"Interval between each snapshot in control flow logger", "0");