On Wed, Dec 17, 2014 at 10:21:59PM +0100, Florian Klemme wrote:
> FYI on VMs:
> I haven't seen a virtual machine that supports any kind of OpenCL
> passthough, so if you're developing on a virtual machine you won't
> be able to run your OpenCL code there.
> I'm developing  on a Linux VM because I don't want to figure out the
> build process on Windows. ;-) But for testing OpenCL, I (have to)
> copy my code to a native Linux machine an test it there.
> 

You can actually use OpenCL with a virtual machine.  I've started
doing this lately for testing clover, which is an Open Source
OpenCL implementation for AMD GPUs.  There is one annoying issue
that on some AMD hardware, you can only boot the guest once per host
boot, so if you want to reboot the guest you must also reboot the host.

Otherwise things seem to be working fine, at least with clover.
I'm working on a guide for how to set this up in case anyone is
interested:

http://dri.freedesktop.org/wiki/PCIPassthrough/

-Tom

> Florian
> 
> Am 17.12.2014 01:33, schrieb Qichang Liang:
> >Currently I am working on MacbookPro Retina installed with OS X 10.10.
> >I have a VMware virtual machine on my USB 3 hard drive, which I can
> >run using VMware Fusion 7.1
> >
> >However for correctness and performance testing, which option is the best?
> >
> >* compile the gegl directly on OS X (which I can't get it compiled)
> >* compile on a Linux VM that runs on VMware Fusion 7.1
> >* install Linux on my USB hard drive, boot my retina macbook from the
> >Linux USB hard drive and compile from there?
> >
> >I don't know whether I can really test performance of OpenCL in a VM.
> >Also both the USB HD and the retina support USB 3, so in this case,
> >will the hard disk no longer be the bottleneck?
> >
> >
> >On Tue, Dec 16, 2014 at 8:38 PM, Alexandre Prokoudine
> ><alexandre.prokoud...@gmail.com> wrote:
> >>13 дек. 2014 г. 10:56 пользователь <kcle...@users.sourceforge.net> написал:
> >>>Hi!
> >>>
> >>>I have just learned OpenCL programming, and would like to get solid
> >>>experience in OpenCL.  I would like to port an existing GEGL filter to
> >>>OpenCL.
> >>>
> >>>I had a look at:
> >>>
> >>>http://wiki.gimp.org/wiki/Hacking:Porting_filters_to_GEGL
> >>>
> >>>There are a couple of filters listed that have a GEGL CPU
> >>>implementation but without OpenCL implementation.  How updated is this
> >>>list?
> >>I try to keep it up to date, but some mistakes may have crawled in :) Don't
> >>hesitate to report any inconsistencies you stumble upon.
> >>
> >>Alex
> >>
> >>
> >>_______________________________________________
> >>gegl-developer-list mailing list
> >>List address:    gegl-developer-list@gnome.org
> >>List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list
> >>
> >>
> >_______________________________________________
> >gegl-developer-list mailing list
> >List address:    gegl-developer-list@gnome.org
> >List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list
> >
> 
> _______________________________________________
> gegl-developer-list mailing list
> List address:    gegl-developer-list@gnome.org
> List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list
> 
_______________________________________________
gegl-developer-list mailing list
List address:    gegl-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list

Reply via email to