Hi Sven, On Freitag 05 Februar 2010, Sven Schreiber wrote: > I'm new to pyopencl as well as to OpenCL in general. Not surprisingly, I > got to a point where I'm stuck. > The error: Whenever I run any of the example files, I get: > > Traceback (most recent call last): > File "examples/demo.py", line 8, in <module> > ctx = cl.create_some_context() > File "/usr/local/lib/python2.6/dist-packages/pyopencl/__init__.py", > line 275, in create_some_context > return Context(devices) > pyopencl.RuntimeError: Context failed: out of resources > > As I said, this is where I'm stuck. Any ideas?
Weird--never seen such an error. Can you try and run a pure-C CL example (such as the ones shipped by Nvidia) and see if that works? > And while I'm at it, another question: Does pyopencl have something like > the gpuarray thing that I read about in pycuda? Not yet--but if you're just getting your feet wet, porting that code to CL would make a nice introductory exercise. Patches welcome. :) Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyOpenCL mailing list [email protected] http://host304.hostmonster.com/mailman/listinfo/pyopencl_tiker.net
