Closed lzhangzz closed 2 years ago
The stream argument is not passed to the following cudaMemcpyAsync when handling trivial cases. Causing the copy to be performed on the default stream instead of the passed one. https://github.com/openppl-public/ppl.cv/blob/eebdbd8ef1e831fa09079cf061752a8695b5dd02/src/ppl/cv/cuda/resize.cu#L1034-L1035 https://github.com/openppl-public/ppl.cv/blob/eebdbd8ef1e831fa09079cf061752a8695b5dd02/src/ppl/cv/cuda/resize.cu#L1228-L1229
stream
cudaMemcpyAsync
thanks, we will fix this in the next update.
The
stream
argument is not passed to the followingcudaMemcpyAsync
when handling trivial cases. Causing the copy to be performed on the default stream instead of the passed one. https://github.com/openppl-public/ppl.cv/blob/eebdbd8ef1e831fa09079cf061752a8695b5dd02/src/ppl/cv/cuda/resize.cu#L1034-L1035 https://github.com/openppl-public/ppl.cv/blob/eebdbd8ef1e831fa09079cf061752a8695b5dd02/src/ppl/cv/cuda/resize.cu#L1228-L1229