| 450 | } |
| 451 | |
| 452 | Result<std::shared_ptr<Buffer>> CudaMemoryManager::CopyBufferFrom( |
| 453 | const std::shared_ptr<Buffer>& buf, const std::shared_ptr<MemoryManager>& from) { |
| 454 | // TODO: remove these or just make them base class |
| 455 | return CopyNonOwnedFrom(*buf, from); |
| 456 | } |
| 457 | |
| 458 | Result<std::unique_ptr<Buffer>> CudaMemoryManager::CopyNonOwnedFrom( |
| 459 | const Buffer& buf, const std::shared_ptr<MemoryManager>& from) { |
nothing calls this directly
no outgoing calls
no test coverage detected