multiple threads using gpu moudule OpenCV

asked 2014-05-01 04:49:03 -0600

I want to run a gpu moudule function (gpu::detectMultiScale for instance) with multiple threads on GPU. Someting like that:

detectMultiScale_routine<<< gridDiDim, blockm >>>(args);

and detectMultiScale_routine calls gpu::detectMultiScale in it.

There is an actual way to do that?

Bottom line: I want to run multiple threads of gpu::detectMultiScale on GPU.

edit retag flag offensive close merge delete


I think it actually should be possible, you will just have to investigate how much space a single instance take on the GPU, then calculate the amount of threads you can run. However I think this has not really an OpenCV focus but rather, how to run multiple threads on a GPU. I think there should be better fora out there for that.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-02 03:52:21 -0600 )edit