[Phi] Add ClearHolder when re-alloc on new place in DeviceContext (#39833)
* [Phi] Add ClearHolder when re-alloc on new place in DeviceContext * fix hostAlloc * foix inferRT unittest * remove dev_ctx ptr
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* [Phi] Add ClearHolder when re-alloc on new place in DeviceContext * fix hostAlloc * foix inferRT unittest * remove dev_ctx ptr