New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra cudaStreamCreate/cudaStreamDestroy #16592
Labels
Milestone
Comments
r2d3
added a commit
to r2d3/opencv
that referenced
this issue
May 1, 2021
this corrects bug opencv#16592 where a Stream is created at each GpuMat::load(arr,stream) call a correct solution would have been to add a default to GpuMat::load but due to circular dependence between Stream and GpuMat, this is not possible
6 tasks
r2d3
added a commit
to r2d3/opencv
that referenced
this issue
May 1, 2021
this corrects bug opencv#16592 where a Stream is created at each GpuMat::load(arr,stream) call a correct solution would have been to add a default to GpuMat::load but due to circular dependence between Stream and GpuMat, this is not possible
r2d3
added a commit
to r2d3/opencv
that referenced
this issue
May 1, 2021
this corrects bug opencv#16592 where a Stream is created at each GpuMat::load(arr,stream) call a correct solution would have been to add a default to GpuMat::load but due to circular dependence between Stream and GpuMat, this is not possible
r2d3
added a commit
to r2d3/opencv
that referenced
this issue
May 1, 2021
this corrects bug opencv#16592 where a Stream is created at each GpuMat::load(arr,stream) call a correct solution would have been to add a default to GpuMat::load but due to circular dependence between Stream and GpuMat, this is not possible
r2d3
added a commit
to r2d3/opencv
that referenced
this issue
May 1, 2021
this corrects bug opencv#16592 where a Stream is created at each GpuMat::load(arr,stream) call a correct solution would have been to add a default to GpuMat::load but due to circular dependence between Stream and GpuMat, this is not possible add test_cuda_upload_download_stream to test_cuda.py
Hello Matthew @mnicely, you could verify the latest version of OpenCV master, it integrates my patch that solves this issue. And confirm that this is solving the issue for you too. Regards David |
Hi @r2d3 |
a-sajjad72
pushed a commit
to a-sajjad72/opencv
that referenced
this issue
Mar 30, 2023
this corrects bug opencv#16592 where a Stream is created at each GpuMat::load(arr,stream) call a correct solution would have been to add a default to GpuMat::load but due to circular dependence between Stream and GpuMat, this is not possible add test_cuda_upload_download_stream to test_cuda.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System information (version)
Detailed description
When I run self.frame_device.upload(self.frame, stream) I'm getting an extra cudaStreamCreate and cudaStreamDestroy right before the cudaMemcpy2DAsync. (See attached)
Steps to reproduce
-->
The text was updated successfully, but these errors were encountered: