Ask Your Question

In OpenCV 3.1 will Mat::dot() use the gpu if it is available?

asked 2016-12-19 15:37:20 -0500

Owen gravatar image

I am not too sure when I should expect the transparent API to be able to use the GPU and when not.

Will Mat::dot() use the GPU if it is available?

Is there a way I can test whether Mat::dot()is using the GPU?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-12-19 16:02:47 -0500

matman gravatar image

No Mat is CPU only, but UMat will do .

You can build OpenCV from source and debug into source code to check if OpenCL is used.

edit flag offensive delete link more


Thank you. This tells me exactly what I need to know.

Owen gravatar imageOwen ( 2016-12-19 16:04:45 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-12-19 15:37:20 -0500

Seen: 113 times

Last updated: Dec 19 '16