]> git.sesse.net Git - ffmpeg/commit
avutil/hcontext_cuda: Remove unnecessary stream synchronisation
authorPhilip Langdale <philipl@overt.org>
Sat, 30 Mar 2019 17:56:49 +0000 (10:56 -0700)
committerPhilip Langdale <philipl@overt.org>
Sat, 30 Mar 2019 17:56:49 +0000 (10:56 -0700)
commit52d8f35b14bc379572e74d042d3466b8d3b6e7cf
treea5b3bd2f587fbb237e7bd7daf142d5e2724e043f
parent5d90d1e36ef3abfa2843e54389d0ffd0fa7ca405
avutil/hcontext_cuda: Remove unnecessary stream synchronisation

Similarly to the previous changes, we don't need to synchronise
after a memcpy to device memory. On the other hand, we need to
keep synchronising after a copy to host memory, otherwise there's
no guarantee that subsequent host reads will return valid data.
libavutil/hwcontext_cuda.c