On Fri, Jul 9, 2010 at 5:10 PM, Terry Reedy <tjre...@udel.edu> wrote: > On 7/9/2010 1:25 AM, sturlamolden wrote: > >> With OpenCL, Python is better than C for heavy computing. The Python >> or C/C++ program has to supply OpenCL code (structured text) to the >> OpenCL driver, which does the real work on GPU or CPU. Python is much >> better than C or C++ at processing text. There will soon be OpenCL >> drivers for most processors on the market. > > For those as ignorant as me, OpenCL = Open Computing Language (for parallel > computing). Apple proposed, Khronos Group maintains spec (along with > OpenGL), AMD, NVidea, Intel support. Send C-like text to device, as with > OpenGL; device compiles and runs; mainly for number crunching with all > resources a machine has. OpenCL and OpenGL can work together. There is > already a Python binding: > http://sourceforge.net/projects/pyopencl/
Its worth pointing out that right now you're generally better off with CUDA than OpenCL, and that pycuda bindings are usable, if not what I would call easy-to-use. Geremy Condra -- http://mail.python.org/mailman/listinfo/python-list