Using OpenCL in a guest system with a processor on Virtual Box, VMWare or Parallels?

Is it possible to use opencl for the CPU when using some virtualization software (i.e. in the guest system)? I think this is becoming more important as the calculation moves to the clouds.

+6
source share
3 answers

Of course, OpenCL for the CPU is another process running on the CPU, and nothing special on it. Virtualization should be no problem.

+2
source

Some drivers, such as the Intel CPU driver, apparently, for some reason, do not seem to be installed on the Parallels virtual machine.

To get OpenCL support on Windows, where parallels run, I first booted up to start Windows initially and install drivers there. Then I booted back into OSX, and the Intel CPU driver was also available in Parallels. Naturally, this approach only works to configure Bootcamp + Parallels.

+1
source

This is only possible if the OpenCL driver is available for the host GPU. As far as I know, this is not possible for the three systems mentioned. I am confident in Virtual Box. The emulated graphics card is not compatible with OpenCL, and the virtual GPU drivers do not support OpenCL.

As far as I know, this is only possible if the guest system sees the source GPU from the host. You should check this and install the necessary OpenCL drivers.

0
source

Source: https://habr.com/ru/post/891461/


All Articles