blob: 867c949d7b4a0d2342f75c6e0880355f030e45db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// author: Mahmoud Khairy, (Purdue Univ)
// email: [email protected]
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "../option_parser.h"
#ifndef HASHING_H
#define HASHING_H
#include "../abstract_hardware_model.h"
#include "gpu-cache.h"
unsigned ipoly_hash_function(new_addr_type higher_bits, unsigned index,
unsigned bank_set_num);
unsigned bitwise_hash_function(new_addr_type higher_bits, unsigned index,
unsigned bank_set_num);
unsigned PAE_hash_function(new_addr_type higher_bits, unsigned index,
unsigned bank_set_num);
#endif
|