[XLA/GPU] Minor cleanup.

This commit is contained in:
Trent Lo 2020-10-13 12:37:44 -07:00
parent 12b38f98bb
commit e187a80095

View File

@ -1540,8 +1540,6 @@ void BufferAssigner::AssignBuffersFromHeapSimulator(
const HeapSimulator::Chunk& chunk = buffer_chunk.second;
assignment->AddAssignment(allocation, value, chunk.offset, chunk.size);
}
// Compute peak_buffers only when the multiheap mode is off. Simply return
// an empty vector in the multiheap mode.
allocation->peak_buffers_ =
ComputePeakMemoryLogicalBuffers(*allocation, result.debug_trace);