| 728 | } |
| 729 | |
| 730 | Status CudaContext::CloseIpcBuffer(CudaBuffer* buf) { |
| 731 | ContextSaver set_temporary(*this); |
| 732 | CU_RETURN_NOT_OK("cuIpcCloseMemHandle", cuIpcCloseMemHandle(buf->address())); |
| 733 | return Status::OK(); |
| 734 | } |
| 735 | |
| 736 | int64_t CudaContext::bytes_allocated() const { return impl_->bytes_allocated(); } |
| 737 |