1 | initial version |
gpu::HoughCircle
calls gpu::Canny
, which doesn't supports Streams too.
Both algorithms contains several stages and requires memory transfers from GPU to CPU between the stages. That creates synchronization points inside algorithm implementation, so it can't be asynchronous. Asynchronous support requires implementation modification.
As for your question, I'm not sure, if I understand you correctly. If you want to do some work on CPU parallel with GPU, you can create two host threads, launch GPU function in the first thread and CPU function in the second thread.