Missing `cudaDeviceSynchronize()` in `gstBufferManager::Deque()`
Kajatin opened this issue · comments
Hello,
This is not as much an issue as it is a question. I was wondering how come there is no (need to) call cudaDeviceSynchronize()
at the end of the following function:
jetson-utils/codec/gstBufferManager.cpp
Line 299 in e6ea755
There are some color conversions going on that are never synced as far as I can tell. I also noticed that in the gstEncoder::Render()
, which has a very similar implementation, there is a call to synchronize:
jetson-utils/codec/gstEncoder.cpp
Line 716 in e6ea755
Thanks!