[Phi] Support construct Scalar by using Non-CPU Tensosr (#41528)
* support construct scalar using non-cpu tensor * fix bugs when run unittest * fix compile bugs * fix bugs when run ci * fix compile bugs * fix bugs when move copy * perfect unit test * perfect unittest * update according to comment * add target dependency
Showing
paddle/phi/api/lib/scalar.cc
0 → 100644
paddle/phi/api/lib/tensor_copy.cc
0 → 100644
paddle/phi/api/lib/tensor_copy.h
0 → 100644
paddle/phi/core/selected_rows.cc
0 → 100644
想要评论请 注册 或 登录