cuda_timer.h
Go to the documentation of this file.
00001 #ifndef CUDA_TIMER_H
00002 #define CUDA_TIMER_H
00003 
00004 #include <cuda.h>
00005 #include <ode/timer.h>
00006 
00007 class CUDAODETimer
00008 {
00009 public:
00010 
00011   CUDAODETimer( const char *description ) {
00012     dTimerNow ( description );
00013   }
00014 
00015   ~CUDAODETimer( ) {
00016     cudaThreadSynchronize( );
00017   }
00018 };
00019 
00020 #endif


parallel_quickstep
Author(s): Jared Duke
autogenerated on Wed Apr 23 2014 10:23:51