| 227 | } |
| 228 | |
| 229 | BufferAllocation::Slice BufferAllocation::GetSlice( |
| 230 | const HloValue& buffer) const { |
| 231 | const OffsetSize os = FindOrDie(assigned_buffers_, &buffer); |
| 232 | return Slice(this, os.offset, os.size); |
| 233 | } |
| 234 | |
| 235 | void BufferAllocation::AddAssignment(const HloValue& buffer, int64 offset, |
| 236 | int64 size) { |
no test coverage detected