summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-misc.cc
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-10-02 14:54:02 -0800
committerTor Aamodt <[email protected]>2010-10-02 14:54:02 -0800
commitd3b9d526ecbf5e0bdaa91d21526cb56a2e98b534 (patch)
treed419ff51749e24fb2f30314d42496f25a692561a /src/gpgpu-sim/gpu-misc.cc
parent11b308e7363e937966b035b4891db32b4eece3bf (diff)
refactoring: make shd_cache_t into a class (cache_t), plus some other cleaning up
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7806]
Diffstat (limited to 'src/gpgpu-sim/gpu-misc.cc')
-rw-r--r--src/gpgpu-sim/gpu-misc.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gpgpu-sim/gpu-misc.cc b/src/gpgpu-sim/gpu-misc.cc
index 06a0f68..c5ad288 100644
--- a/src/gpgpu-sim/gpu-misc.cc
+++ b/src/gpgpu-sim/gpu-misc.cc
@@ -80,17 +80,3 @@ unsigned int LOGB2( unsigned int v ) {
return r;
}
-
-unsigned int MAX2NUM( unsigned int a, unsigned int b ) {
- if (a > b) {
- return a;
- } else
- return b;
-}
-
-unsigned int MIN2NUM( unsigned int a, unsigned int b ) {
- if (a < b) {
- return a;
- } else
- return b;
-}