[PHI] Remove reseting dtype, layout and allocation by arg_def for outputs in executor (#39781)
* remove SetAllocationForOutputTenosr
* add place param for copy kernel
* recover SetAllocationForOutputTenosr
* polish code
* fix empty_dev api bug
* remove reseting dtype and layout for output in executor
* fix merge bug
* [Phi] Add ClearHolder when re-alloc on new place in DeviceContext
* fix hostAlloc
* remove setting output allocation
* remove full_kernel_impl.h
* fix bug of xpu full_like
Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
Showing
想要评论请 注册 或 登录