| 208 | } |
| 209 | |
| 210 | int64 XRTMemoryManager::Register(RefPtr<XRTTupleAllocation> tuple) { |
| 211 | DeviceContext* device_context = GetDeviceContext(tuple->device_ordinal(), |
| 212 | /*create_if_missing=*/true); |
| 213 | return device_context->Register(std::move(tuple)); |
| 214 | } |
| 215 | |
| 216 | xla::StatusOr<RefPtr<XRTTupleAllocation>> XRTMemoryManager::Lookup( |
| 217 | int64 handle) { |
no test coverage detected