| 445 | Status CudaBufferWriter::Flush() { return impl_->Flush(); } |
| 446 | |
| 447 | Status CudaBufferWriter::Seek(int64_t position) { |
| 448 | if (impl_->buffer_position() > 0) { |
| 449 | RETURN_NOT_OK(Flush()); |
| 450 | } |
| 451 | return impl_->Seek(position); |
| 452 | } |
| 453 | |
| 454 | Result<int64_t> CudaBufferWriter::Tell() const { return impl_->Tell(); } |
| 455 |