[cherry]Add callback after TensorCopy (#30123) (#30268)
* change to tensor copy sync * change to tensor copy sync * make copy_to safe when use TensorCopy * refine code * add ut * add cudapinned garbagecollector * add testcase: cpu place -> cuda pinned place
Showing
想要评论请 注册 或 登录