Cuda::Event Class Reference

CUDA runtime event class. More...

#include <event.hpp>

List of all members.

Public Member Functions

 Event ()
 Default constructor.
 ~Event ()
 Destructor.
 operator cudaEvent_t () const
 Get event identifier.
float operator- (const Event &e) const
 Computes the elapsed time between events.
void record (cudaStream_t stream=0)
 Records an event.
bool query () const
 Query if an event has been recorded.
void synchronize ()
 Wait for an event to be recorded.


Detailed Description

CUDA runtime event class.

Member Function Documentation

float Cuda::Event::operator- ( const Event e  )  const [inline]

Computes the elapsed time between events.

Returns:
elapsed time in milliseconds


The documentation for this class was generated from the following file:

Generated on Sun Sep 13 00:55:18 2009 for cudatemplates by  doxygen 1.5.6