|  | OpenCV
    3.4.5
    Open Source Computer Vision | 
This class encapsulates a queue of asynchronous calls. More...
#include "cuda.hpp"
| Public Types | |
| typedef void(* | StreamCallback) (int status, void *userData) | 
| Public Member Functions | |
| Stream () | |
| creates a new asynchronous stream  More... | |
| Stream (const Ptr< GpuMat::Allocator > &allocator) | |
| creates a new asynchronous stream with custom allocator  More... | |
| void | enqueueHostCallback (StreamCallback callback, void *userData) | 
| Adds a callback to be called on the host after all currently enqueued items in the stream have completed.  More... | |
| operator bool_type () const | |
| returns true if stream object is not default (!= 0)  More... | |
| bool | queryIfComplete () const | 
| Returns true if the current stream queue is finished. Otherwise, it returns false.  More... | |
| void | waitEvent (const Event &event) | 
| Makes a compute stream wait on an event.  More... | |
| void | waitForCompletion () | 
| Blocks the current CPU thread until all operations in the stream are complete.  More... | |
| Static Public Member Functions | |
| static Stream & | Null () | 
| return Stream object for default CUDA stream  More... | |
| Friends | |
| class | BufferPool | 
| class | DefaultDeviceInitializer | 
| struct | StreamAccessor | 
This class encapsulates a queue of asynchronous calls.
| typedef void(* cv::cuda::Stream::StreamCallback) (int status, void *userData) | 
| cv::cuda::Stream::Stream | ( | ) | 
creates a new asynchronous stream
| cv::cuda::Stream::Stream | ( | const Ptr< GpuMat::Allocator > & | allocator | ) | 
creates a new asynchronous stream with custom allocator
| void cv::cuda::Stream::enqueueHostCallback | ( | StreamCallback | callback, | 
| void * | userData | ||
| ) | 
Adds a callback to be called on the host after all currently enqueued items in the stream have completed.
| cv::cuda::Stream::operator bool_type | ( | ) | const | 
returns true if stream object is not default (!= 0)
| bool cv::cuda::Stream::queryIfComplete | ( | ) | const | 
Returns true if the current stream queue is finished. Otherwise, it returns false.
| void cv::cuda::Stream::waitEvent | ( | const Event & | event | ) | 
Makes a compute stream wait on an event.
| void cv::cuda::Stream::waitForCompletion | ( | ) | 
Blocks the current CPU thread until all operations in the stream are complete.
| 
 | friend | 
| 
 | friend | 
| 
 | friend | 
 1.8.12
 1.8.12