|
PXL
|
An asynchronous work queue for device operations. More...
#include <stream.hpp>
Public Member Functions | |
| virtual uint32_t | streamId () const =0 |
| Gets the stream ID. More... | |
Protected Member Functions | |
| Stream ()=default | |
| Default constructor. More... | |
| virtual | ~Stream ()=default |
| Default virtual destructor. More... | |
An asynchronous work queue for device operations.
A Stream is an asynchronous work queue that holds a sequence of operations to be executed on a device. A stream issues its operations to the device in enqueue order: every task of an operation is submitted before any task of a later one. While the device cannot take an operation's remaining tasks, later operations wait in the stream, and Map::execute() blocks once the stream's queue is full. Completion is not ordered, so a later operation may start before an earlier one finishes. When an operation depends on another's result, synchronize the earlier Map first. A Map that is not bound to a stream uses its Job's default stream.
Definition at line 25 of file stream.hpp.
|
protecteddefault |
Default constructor.
|
protectedvirtualdefault |
Default virtual destructor.
|
pure virtual |
Gets the stream ID.