fixed issues with synchronizing streams when copy from gpu to cpu
* by default, synchronize default_stream after resizeAndCopyFrom * add sync in some places after resizeAndCopyFrom using other streams
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* by default, synchronize default_stream after resizeAndCopyFrom * add sync in some places after resizeAndCopyFrom using other streams