Ask Your Question
0

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

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

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
2

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

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

Comments

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

Owen gravatar imageOwen ( 2016-12-19 16:04:45 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 206 times

Last updated: Dec 19 '16