Thread overview
anybody working on OpenCL bindings?
Sep 29, 2009
Trass3r
Sep 29, 2009
Tim Matthews
Sep 29, 2009
Trass3r
Sep 29, 2009
Jeremie Pelletier
Sep 29, 2009
Trass3r
Sep 29, 2009
Jeremie Pelletier
Sep 29, 2009
Trass3r
Sep 30, 2009
Jeremie Pelletier
Sep 30, 2009
Trass3r
Nov 06, 2009
Trass3r
September 29, 2009
Is anybody already working on OpenCL bindings now that Nvidia finally released a public OpenCL driver?
September 29, 2009
Trass3r wrote:
> Is anybody already working on OpenCL bindings now that Nvidia finally released a public OpenCL driver?

If no one has started on a D binding then maybe a C# binding would be an ideal start? http://www.opentk.com/news/C%2523-opencl-bindings-ready-for-testing
September 29, 2009
Tim Matthews schrieb:
> If no one has started on a D binding then maybe a C# binding would be an ideal start? http://www.opentk.com/news/C%2523-opencl-bindings-ready-for-testing

There also is a semiofficial C++ binding (http://www.khronos.org/registry/cl/)
and one for Java (http://ochafik.free.fr/blog/?p=190)
September 29, 2009
Trass3r wrote:
> Tim Matthews schrieb:
>> If no one has started on a D binding then maybe a C# binding would be an ideal start? http://www.opentk.com/news/C%2523-opencl-bindings-ready-for-testing
> 
> There also is a semiofficial C++ binding (http://www.khronos.org/registry/cl/)
> and one for Java (http://ochafik.free.fr/blog/?p=190)

http://www.2shared.com/file/8117304/76c7c9ac/OpenCL.html

I wrote these some time ago after first hearing about OpenCL, only to realize there was no implementations yet. Then I got a new laptop with a 9800M only to realize ATI had an OpenCL driver available days later, my old computer had an x1950xtx :o(

So nVidia finally released their CL drivers? This is great news!

September 29, 2009
Jeremie Pelletier schrieb:
> http://www.2shared.com/file/8117304/76c7c9ac/OpenCL.html
> 
> I wrote these some time ago after first hearing about OpenCL, only to realize there was no implementations yet. Then I got a new laptop with a 9800M only to realize ATI had an OpenCL driver available days later, my old computer had an x1950xtx :o(
> 
> So nVidia finally released their CL drivers? This is great news!
> 

Yeah, they just released them yesterday.
Are your bindings still up-to-date?
September 29, 2009
Trass3r wrote:
> Jeremie Pelletier schrieb:
>> http://www.2shared.com/file/8117304/76c7c9ac/OpenCL.html
>>
>> I wrote these some time ago after first hearing about OpenCL, only to realize there was no implementations yet. Then I got a new laptop with a 9800M only to realize ATI had an OpenCL driver available days later, my old computer had an x1950xtx :o(
>>
>> So nVidia finally released their CL drivers? This is great news!
>>
> 
> Yeah, they just released them yesterday.
> Are your bindings still up-to-date?

Can't tell, I used the Khronos reference C headers some months ago, it was a few weeks before the first mention of CL on slashdot so it may be old!

Some thing may have changed since then, but nothing major, and nothing hard to fix (just update the prototype or declaration from the Khronos headers, no need to redo it all).

In any ways, it took me at most half an hour to manually create these bindings; an editor with regex find&replace is the best thing ever, feels like using the stream editor (sed) on unix!

Let me know if something is missing :)
September 29, 2009
Jeremie Pelletier schrieb:
> Some thing may have changed since then

Yeah, some constants have changed and a few functions.
I'm modifying the bindings right now.
September 30, 2009
Trass3r wrote:
> Jeremie Pelletier schrieb:
>> Some thing may have changed since then
> 
> Yeah, some constants have changed and a few functions.
> I'm modifying the bindings right now.

Cool, can you post a link to the updated version when you're done? I'm gonna start toying with CL in a week or two when I get some free time.
September 30, 2009
Here's my current version:
http://ul.to/be4o02
November 06, 2009
Jeremie Pelletier schrieb:
> Cool, can you post a link to the updated version when you're done? I'm gonna start toying with CL in a week or two when I get some free time.

Any news here?
I've been away for some time.