diff options
| author | Tor Aamodt <[email protected]> | 2010-10-01 08:55:28 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-10-01 08:55:28 -0800 |
| commit | 11b308e7363e937966b035b4891db32b4eece3bf (patch) | |
| tree | 50ca4c9ad6f163ac4acb2bf505e64dfebed66947 /benchmarks/CUDA/MUM/common.cu | |
| parent | bb820c116764d7a1b8e071137d32b74e7f34dd2f (diff) | |
integrating recent changes from fermi-test into fermi
(i'll use "fermi" for more disruptive changes to the pipeline model such
as updating the MSHRs and getting rid of the warp tracker, ripping out DWF, etc...)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7805]
Diffstat (limited to 'benchmarks/CUDA/MUM/common.cu')
| -rw-r--r-- | benchmarks/CUDA/MUM/common.cu | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/benchmarks/CUDA/MUM/common.cu b/benchmarks/CUDA/MUM/common.cu deleted file mode 100644 index 5a9183f..0000000 --- a/benchmarks/CUDA/MUM/common.cu +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef COMMON_CU__ -#define COMMON_CU__ 1 -// Children are labeled as ACGT$ -const int basecount = 5; - -// Note: max pixel size is 16 bytes - -const unsigned char DNA_A = 'A'; -const unsigned char DNA_C = 'B'; -const unsigned char DNA_G = 'C'; -const unsigned char DNA_T = 'D'; -const unsigned char DNA_S = 'E'; - -// 4 bytes -struct TextureAddress -{ - union - { - unsigned int data; - - struct - { - unsigned short x; - unsigned short y; - }; - }; -}; - -// Store the start, end coordinate of node, and $link in 1 pixel -struct PixelOfNode -{ - union - { - ulong4 data; - struct - { - int start; - int end; - TextureAddress childD; - TextureAddress suffix; - }; - }; -}; - -// Store the ACGT links in 1 pixel -struct PixelOfChildren -{ - union - { - ulong4 data; - TextureAddress children[4]; - }; -}; - -#define FORWARD 0x0000 -#define REVERSE 0x8000 -#define FRMASK 0x8000 -#define FRUMASK 0x7FFF - - -#endif |
