isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Event.h
1 #pragma once
2 
3 #include <memory>
4 
5 namespace isce3 { namespace cuda { namespace core {
6 
8 class Event {
9 public:
11  Event();
12 
14  cudaEvent_t get() const { return *_event; }
15 
16 private:
17  std::shared_ptr<cudaEvent_t> _event;
18 };
19 
20 bool operator==(Event, Event);
21 
22 bool operator!=(Event, Event);
23 
25 void synchronize(Event);
26 
32 bool query(Event);
33 
34 }}}
Event()
Create an event object on the current CUDA device.
Thin RAII wrapper around cudaEvent_t.
Definition: Event.h:8

Generated for ISCE3.0 by doxygen 1.8.5.