Searched refs:tables (Results 1 - 4 of 4) sorted by relevance

/gem5/ext/ply/example/BASIC/
H A Dbasinterp.py102 if var in self.tables:
105 if dim1val < 1 or dim1val > len(self.tables[var]) or dim2val < 1 or dim2val > len(self.tables[var][0]):
108 return self.tables[var][dim1val-1][dim2val-1]
159 if not var in self.tables:
163 self.tables[var] = v
165 if dim1val > len(self.tables[var]) or dim2val > len(self.tables[var][0]):
168 self.tables[var][dim1val-1][dim2val-1] = self.eval(value)
181 self.tables
[all...]
/gem5/src/cpu/pred/
H A Dmultiperspective_perceptron.cc103 tables.push_back(std::vector<short int>(table_sizes[i]));
212 // count the tables that have already been assigned sizes
223 // whatever is left, we divide among the rest of the tables
336 int counter = threadData[tid]->tables[i][hashed_idx];
405 std::vector<std::vector<short int>> &tables = threadData[tid]->tables; local
423 int counter = tables[i][hashed_idx];
470 int counter = tables[i][hashed_idx];
476 tables[i][hashed_idx] = counter;
504 int counter = tables[
[all...]
H A Dmultiperspective_perceptron_tage.cc441 threadData[tid]->tables[i][getIndex(tid, bi, *specs[i], i)];
451 // update tables
455 &threadData[tid]->tables[i][idx];
H A Dmultiperspective_perceptron.hh214 * Base class to implement the predictor tables.
251 * to set the proper size of the tables
282 /** Transfer function for 6-width tables */
284 /** Transfer function for 5-width tables */
345 std::vector<std::vector<short int>> tables; member in struct:MultiperspectivePerceptron::ThreadData
350 /** Predictor tables */
414 * of the history and the predictor tables and assigns the sizes of
415 * those tables that did not had their size specified.
425 * Creates the tables of the predictor
442 * predictor tables
[all...]

Completed in 15 milliseconds