| 177 | } // namespace |
| 178 | |
| 179 | Result<std::shared_ptr<ArrayData>> ArrayData::CopyTo( |
| 180 | const std::shared_ptr<MemoryManager>& to) const { |
| 181 | return CopyToImpl(*this, to, MemoryManager::CopyBuffer); |
| 182 | } |
| 183 | |
| 184 | Result<std::shared_ptr<ArrayData>> ArrayData::ViewOrCopyTo( |
| 185 | const std::shared_ptr<MemoryManager>& to) const { |