| 435 | Status CudaBufferWriter::Flush() { return impl_->Flush(); } |
| 436 | |
| 437 | Status CudaBufferWriter::Seek(int64_t position) { |
| 438 | if (impl_->buffer_position() > 0) { |
| 439 | RETURN_NOT_OK(Flush()); |
| 440 | } |
| 441 | return impl_->Seek(position); |
| 442 | } |
| 443 | |
| 444 | Result<int64_t> CudaBufferWriter::Tell() const { return impl_->Tell(); } |
| 445 |