[PyOpenCL] demo.py fails @ queue = cl.CommandQueue()
Andreas Kloeckner
lists at informa.tiker.net
Tue Sep 13 12:58:17 PDT 2011
Hi William,
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):
> [0] <pyopencl.Device 'ATI Radeon HD 5870' at 0x1021b00>
> [1] <pyopencl.Device 'Intel(R) Xeon(R) CPU X5650 @ 2.67GHz' at 0x1020400>
> Choice, comma-separated [0]:
> 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?
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pyopencl/attachments/20110913/2ee2d3a5/attachment.pgp>
More information about the PyOpenCL
mailing list