diff options
| author | leonyu <a@b> | 2013-10-21 21:08:33 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:59 -0700 |
| commit | db789973ec11440d4b4d02bc9ad1481ec9b1054f (patch) | |
| tree | e1693c022567d26069a098f08ea55156b0acf40f /src/gpuwattch/cacti/Ucache.cc | |
| parent | da74edd77d3effb3da82090c05ebd3a1f3965f1f (diff) | |
warning fixes 2nd patch, including comments removal and strict aliasing fixes.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17183]
Diffstat (limited to 'src/gpuwattch/cacti/Ucache.cc')
| -rw-r--r-- | src/gpuwattch/cacti/Ucache.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpuwattch/cacti/Ucache.cc b/src/gpuwattch/cacti/Ucache.cc index 6f37f1a..e855238 100644 --- a/src/gpuwattch/cacti/Ucache.cc +++ b/src/gpuwattch/cacti/Ucache.cc @@ -683,7 +683,6 @@ void filter_data_arr(list<mem_array *> & curr_list) */ void solve(uca_org_t *fin_res) { - bool is_dram = false; int pure_ram = g_ip->pure_ram; bool pure_cam = g_ip->pure_cam; @@ -718,14 +717,11 @@ void solve(uca_org_t *fin_res) } bool is_tag; - uint32_t ram_cell_tech_type; // If it's a cache, first calculate the area, delay and power for all tag array partitions. if (!(pure_ram||pure_cam||g_ip->fully_assoc)) { //cache is_tag = true; - ram_cell_tech_type = g_ip->tag_arr_ram_cell_tech_type; - is_dram = ((ram_cell_tech_type == lp_dram) || (ram_cell_tech_type == comm_dram)); init_tech_params(g_ip->F_sz_um, is_tag); for (uint32_t t = 0; t < nthreads; t++) @@ -755,8 +751,6 @@ void solve(uca_org_t *fin_res) // if (!g_ip->fully_assoc) // {//in the new cacti, cam, fully_associative cache are processed as single array in the data portion is_tag = false; - ram_cell_tech_type = g_ip->data_arr_ram_cell_tech_type; - is_dram = ((ram_cell_tech_type == lp_dram) || (ram_cell_tech_type == comm_dram)); init_tech_params(g_ip->F_sz_um, is_tag); for (uint32_t t = 0; t < nthreads; t++) |
