1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Support for creating streams with custom allocator

This commit is contained in:
Naba Kumar
2017-03-15 08:40:08 +02:00
parent 8bce760174
commit 29680100ac
2 changed files with 25 additions and 5 deletions
@@ -507,6 +507,9 @@ public:
//! creates a new asynchronous stream
Stream();
//! creates a new asynchronous stream with custom allocator
Stream(const Ptr<GpuMat::Allocator>& allocator);
/** @brief Returns true if the current stream queue is finished. Otherwise, it returns false.
*/
bool queryIfComplete() const;