Can OpenCV use the same GPU as the OS desktop?

asked 2019-11-10 19:18:02 -0500

If a video card is already in use to display a desktop, does this mean it can or cannot be used by OpenCV and/or CUDA?

I suspect the GPU is a all-or-nothing dedicated resource, where it can either be used to display the operating system desktop, or be used for image processing (ML, OpenCV, etc) but probably cannot multitask both like a CPU can multitask between different applications.

In case it matters, my OS is Ubuntu Linux.

edit retag flag offensive close merge delete



It can be shared amongst various executable files at once.

sjhalayka gravatar imagesjhalayka ( 2019-11-10 20:00:38 -0500 )edit