summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorJRPan <[email protected]>2024-08-16 11:16:06 -0400
committerGitHub <[email protected]>2024-08-16 15:16:06 +0000
commit42a0cde4b463794d041b544309afb69c315f78bc (patch)
treeacc2196fb5157f7167de0318bb3aa1a20a7f70af /src/gpgpu-sim/gpu-sim.h
parent081da0abacbc3595b090094b1a66fc37d35bd82a (diff)
remove unused & unintilized variables & format automation (#69)
* run formatter only on PR * remove unused & unintilized variables * fix signed & unsigned comparison warning * enable merge queue * resolve conflict * in formatter, checkout the forked repo, not the base repo in PR * Try to use jenkins for formatter * Automated Format --------- Co-authored-by: purdue-jenkins <[email protected]>
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index a24ffd3..d43b399 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -132,9 +132,9 @@ struct power_config {
// NOTE: After changing the nonlinear model to only scaling idle core,
// NOTE: The min_inc_per_active_sm is not used any more
- if (g_use_nonlinear_model)
- sscanf(gpu_nonlinear_model_config, "%lf:%lf", &gpu_idle_core_power,
- &gpu_min_inc_per_active_sm);
+ // if (g_use_nonlinear_model)
+ // sscanf(gpu_nonlinear_model_config, "%lf:%lf", &gpu_idle_core_power,
+ // &gpu_min_inc_per_active_sm);
}
void reg_options(class OptionParser *opp);