a reader capable of producing views over device memory.
virtual std::unique_ptr< device_data_chunk > get_next_chunk(std::size_t size, rmm::cuda_stream_view stream)=0
Get the next chunk of bytes from the data source.
virtual void skip_bytes(std::size_t size)=0
Skips the specified number of bytes in the data source.
a data source capable of creating a reader which can produce views of the data source in device memor...
virtual std::unique_ptr< data_chunk_reader > create_reader() const =0
Get a reader for the data source.
A contract guaranteeing stream-ordered memory access to the underlying device data.
virtual char const * data() const =0
Returns a pointer to the underlying device data.
virtual std::size_t size() const =0
Returns the size of the underlying device data.