[PyOpenCL] demo.py fails @ queue = cl.CommandQueue()
lists at informa.tiker.net
Tue Sep 13 12:58:17 PDT 2011
On Tue, 13 Sep 2011 19:34:33 +0000, "Mclendon, William C III" <wcmclen at sandia.gov> wrote:
> I'm trying to run some demos of PyOpenCL under OSX Snow Leopard (10.6.8) and the demos aren't working for me...
> I have tried both the macports installation of py26-pyopencl and have tried building from source and both do the same thing:
> 160 [examples ] > python demo.py
> Choose device(s):
>  <pyopencl.Device 'ATI Radeon HD 5870' at 0x1021b00>
>  <pyopencl.Device 'Intel(R) Xeon(R) CPU X5650 @ 2.67GHz' at 0x1020400>
> Choice, comma-separated :
> Traceback (most recent call last):
> File "demo.py", line 9, in <module>
> queue = cl.CommandQueue(ctx)
> pyopencl.LogicError: CommandQueue failed: invalid value
> Anyone know if there's some extra thing I need to do or might I be missing something? As far as I can tell, this should work with the opencl that comes with the osx developer tools...
Does this stay the same no matter which device you pick? Also, what
version of PyOpenCL are you using?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the PyOpenCL