From db789973ec11440d4b4d02bc9ad1481ec9b1054f Mon Sep 17 00:00:00 2001 From: leonyu Date: Mon, 21 Oct 2013 21:08:33 -0800 Subject: warning fixes 2nd patch, including comments removal and strict aliasing fixes. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17183] --- src/gpuwattch/gpgpu_sim_wrapper.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gpuwattch/gpgpu_sim_wrapper.cc') diff --git a/src/gpuwattch/gpgpu_sim_wrapper.cc b/src/gpuwattch/gpgpu_sim_wrapper.cc index 13c5b3e..efb3e6b 100644 --- a/src/gpuwattch/gpgpu_sim_wrapper.cc +++ b/src/gpuwattch/gpgpu_sim_wrapper.cc @@ -717,7 +717,6 @@ void gpgpu_sim_wrapper::detect_print_steady_state(int position, double init_val) }else{ // Get current average double temp_avg = sample_val / (double)samples.size() ; - double temp_ipc = (init_val-init_inst_val)/ (double) (samples.size()*gpu_stat_sample_freq); if( abs(proc->rt_power.readOp.dynamic-temp_avg) < gpu_steady_power_deviation){ // Value is within threshold sample_val += proc->rt_power.readOp.dynamic; -- cgit v1.3