Commit 82a2ce15 authored by Guangda Lai's avatar Guangda Lai Committed by TensorFlower Gardener
Browse files

Fix a bug where it'll report an incorrect allocated bytes when backpedalling,...

Fix a bug where it'll report an incorrect allocated bytes when backpedalling, as after Alloc() it shrinks 'bytes' again. Also fix a comparison problem: we should try to allocate as long as bytes>=rounded_bytes, where it used '>' initially.

PiperOrigin-RevId: 170103892
parent 9b6b179f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment