aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/CUDA/DG/src/tictoc.cu
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/DG/src/tictoc.cu
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/DG/src/tictoc.cu')
-rw-r--r--benchmarks/CUDA/DG/src/tictoc.cu23
1 files changed, 0 insertions, 23 deletions
diff --git a/benchmarks/CUDA/DG/src/tictoc.cu b/benchmarks/CUDA/DG/src/tictoc.cu
deleted file mode 100644
index f1335c3..0000000
--- a/benchmarks/CUDA/DG/src/tictoc.cu
+++ /dev/null
@@ -1,23 +0,0 @@
-cudaEvent_t cstart, cstop;
-
-void cudatic(){
-
- cudaEventCreate(&cstart);
- cudaEventCreate(&cstop);
-
- cudaEventRecord(cstart, 0);
-}
-
-float cudatoc(){
-
- cudaEventRecord(cstop, 0);
- cudaEventSynchronize(cstop);
- float elapsedTime;
- cudaEventElapsedTime(&elapsedTime, cstart, cstop);
-
- /* return elapsed time in seconds */
- return elapsedTime/1000.0;
-
-}
-
-