summaryrefslogtreecommitdiff
path: root/benchmarks/CUDA/CP/driver/futures.py
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-10-01 08:55:28 -0800
committerTor Aamodt <[email protected]>2010-10-01 08:55:28 -0800
commit11b308e7363e937966b035b4891db32b4eece3bf (patch)
tree50ca4c9ad6f163ac4acb2bf505e64dfebed66947 /benchmarks/CUDA/CP/driver/futures.py
parentbb820c116764d7a1b8e071137d32b74e7f34dd2f (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/CP/driver/futures.py')
-rw-r--r--benchmarks/CUDA/CP/driver/futures.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/benchmarks/CUDA/CP/driver/futures.py b/benchmarks/CUDA/CP/driver/futures.py
deleted file mode 100644
index 2e0b94b..0000000
--- a/benchmarks/CUDA/CP/driver/futures.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# (c) 2007 The Board of Trustees of the University of Illinois.
-
-class Future:
- def __init__(self, thunk):
- self.evaluated = 0
- self.value = thunk
-
- def get(self):
- if self.evaluated:
- return self.value
- else:
- self.value = self.value()
- self.evaluated = 1
- return self.value