device_buffer has a function to query the stream of the last memory operation.
/**
* @brief Returns stream most recently specified for allocation/deallocation
*/
[[nodiscard]] cuda_stream_view stream() const noexcept { return _stream; }
It would be nice to have a similar function for device_uvector. This can help debugging, for example asserting that the stream has the expected value.
device_bufferhas a function to query the stream of the last memory operation.It would be nice to have a similar function for
device_uvector. This can help debugging, for example asserting that the stream has the expected value.