Andreas Klöckner schrieb: > Hi Sven, thanks for the quick reply!
> > 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? I'll try -- but it'll probably take a while as I'm facing some other deadlines right now. But I will report back eventually ( != German "eventuell" which it occurs to me otherwise you might interpret it in this false-friend kind of way). > >> 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. :) > well I'm sorry but I don't really speak C which I suppose is what you mean. That's why pyopencl (and also pycuda) look so great to me. thanks, sven _______________________________________________ PyOpenCL mailing list [email protected] http://host304.hostmonster.com/mailman/listinfo/pyopencl_tiker.net
