summaryrefslogtreecommitdiff
path: root/src/gpuwattch/cacti/Ucache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpuwattch/cacti/Ucache.cc')
-rw-r--r--src/gpuwattch/cacti/Ucache.cc6
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++)