Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-12

Re: OpenCL (Lourival Mendes)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ingemar Ragnemalm

I have tried Dmitry's OpenCL interfaces, and they work just fine. I use it on a Mac using Lightweight IDE, and making OpenCL work through it using C or FPC is trivial; it just works. I don't know how hard it is to use it from Lazarus (which I can't run for unknown reasons) but it can't be very hard.

There are three ways to work with GPU computations, shaders (e.g. GLSL), CUDA and OpenCL. CUDA is integrated with C, for better or worse (worse for us since that makes it hard to use from FPC). Shaders and OpenCL are no problem to use from FPC. In all cases, the languages are C-based. :-(

/Ingemar

Lourival Mendes wrote 30 lines
I found that URL, actually I'm on the same situation... I'm waiting for them to be applied... please correct me if I'm wrong, CUDA work only for NVidia and OpenCL should work for all GPU, right? and if I got the idea the OpenCL bindings submitted works only for Mac. Can I get and try it on Windows? Lourival 2009/12/22 Michalis Kamburelis : > Lourival Mendes wrote: > >> FPC/Lazarus. Is there a project on it? Is there some thing working on >> Parallel programming on FPC? >> > There are OpenCL bindings submitted to mantis, > http://mantis.freepascal.org/view.php?id=15297, by Dmitry Boyarintsev. > I didn't test them, as I don't have capable GPU (yet) :) > But I'm waiting with anticipation for them to be applied :) > (I was playing with CUDA some time ago, which had basically the same > goal, although was NVidia-only.) > > Michalis > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >