Fork自 PaddlePaddle / Paddle
GPU allocation uses fraction of available memory, also fix the GetUsed without lock