| 421 | } |
| 422 | |
| 423 | Result<std::unique_ptr<Buffer>> CudaMemoryManager::AllocateBuffer(int64_t size) { |
| 424 | ARROW_ASSIGN_OR_RAISE(auto context, cuda_device()->GetContext()); |
| 425 | return context->Allocate(size); |
| 426 | } |
| 427 | |
| 428 | Result<std::shared_ptr<Buffer>> CudaMemoryManager::CopyBufferTo( |
| 429 | const std::shared_ptr<Buffer>& buf, const std::shared_ptr<MemoryManager>& to) { |
no test coverage detected