Stream new_stream(Device d)
Make a new stream on the given device.
bool operator==(const Device &lhs, const Device &rhs)
bool operator!=(const Device &lhs, const Device &rhs)
Stream get_stream(int index)
Get the stream with the given index.
Stream default_stream(Device d)
Get the default stream for the given device.
void set_default_stream(Stream s)
Make the stream the default for its device.
Device device
Definition stream.h:11
Stream(int index, Device device)
Definition stream.h:12
int index
Definition stream.h:10