PXL
pxl::Stream Class Referenceabstract

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...
 

Detailed Description

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. Operations within the same stream are executed in the order they are issued. If a specific stream is not provided, operations are executed on the context's default stream, ensuring that multiple operations are executed sequentially.

Definition at line 19 of file stream.hpp.

Constructor & Destructor Documentation

◆ Stream()

pxl::Stream::Stream ( )
protecteddefault

Default constructor.

◆ ~Stream()

virtual pxl::Stream::~Stream ( )
protectedvirtualdefault

Default virtual destructor.

Member Function Documentation

◆ streamId()

virtual uint32_t pxl::Stream::streamId ( ) const
pure virtual

Gets the stream ID.

Returns
The stream ID.

The documentation for this class was generated from the following file: