| 159 | } |
| 160 | |
| 161 | Status CudaBuffer::CopyToHost(const int64_t position, const int64_t nbytes, |
| 162 | void* out) const { |
| 163 | return context_->CopyDeviceToHost(out, data_ + position, nbytes); |
| 164 | } |
| 165 | |
| 166 | Status CudaBuffer::CopyFromHost(const int64_t position, const void* data, |
| 167 | int64_t nbytes) { |