7 namespace isce3 {
namespace cuda {
namespace core {
19 explicit operator bool()
const;
22 cudaStream_t
get()
const {
return *_stream; }
34 std::shared_ptr<cudaStream_t> _stream;
37 bool operator==(Stream, Stream);
39 bool operator!=(Stream, Stream);
42 void synchronize(Stream);
Thin RAII wrapper around cudaEvent_t.
Definition: Event.h:8
Stream()
Create an asynchronous stream object on the current CUDA device.
Event record_event() const
Record an event to capture the contents of the stream.
void wait_event(Event) const
Wait for an event to complete.
Thin RAII wrapper around cudaStream_t.
Definition: Stream.h:10