diff options
| author | Mahmoud <[email protected]> | 2020-06-01 15:10:07 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2020-06-01 15:10:07 -0400 |
| commit | 04b5438cb61b6f040f69fa99fafc971cc43c60ed (patch) | |
| tree | 6a04f8f796c1a0e3f8924429080480d9ae5ad20f /src/gpgpu-sim/hashing.h | |
| parent | ee3c46354c5ce758bf71cfb7bd2e7da7718bcc8a (diff) | |
ooh forgot to add hashing files
Diffstat (limited to 'src/gpgpu-sim/hashing.h')
| -rw-r--r-- | src/gpgpu-sim/hashing.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gpgpu-sim/hashing.h b/src/gpgpu-sim/hashing.h new file mode 100644 index 0000000..867c949 --- /dev/null +++ b/src/gpgpu-sim/hashing.h @@ -0,0 +1,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 |
