| 1397 | |
| 1398 | protected: |
| 1399 | Result<std::shared_ptr<Buffer>> CopyBufferFrom( |
| 1400 | const std::shared_ptr<Buffer>& buf, |
| 1401 | const std::shared_ptr<MemoryManager>& from) override { |
| 1402 | return CopyNonOwnedFrom(*buf, from); |
| 1403 | } |
| 1404 | Result<std::unique_ptr<Buffer>> CopyNonOwnedFrom( |
| 1405 | const Buffer& buf, const std::shared_ptr<MemoryManager>& from) override { |
| 1406 | if (!from->is_cpu()) { |
nothing calls this directly
no outgoing calls
no test coverage detected