www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - updated OpenCL headers

reply Trass3r <mrmocool gmx.de> writes:
I've updated my bindings to Rev. 9283 2009-10-14.
if anybody wants to play around with it: http://ul.to/jjwlyg
tell me when you find errors.
Nov 16 2009
parent reply notna <notna.remove.this ist-einmalig.de> writes:
Hi Trass3r.

Do you have any plans to update your bindings to OpenCL 1.1 soon?
I'd be happy to play around with them ;-)

Thanks anyhow for your work!

Am 16.11.2009 15:20, schrieb Trass3r:
 I've updated my bindings to Rev. 9283 2009-10-14.
 if anybody wants to play around with it: http://ul.to/jjwlyg
 tell me when you find errors.

Jul 17 2010
next sibling parent Trass3r <un known.com> writes:
Am 17.07.2010, 18:24 Uhr, schrieb notna  
<notna.remove.this ist-einmalig.de>:
 Do you have any plans to update your bindings to OpenCL 1.1 soon?
 I'd be happy to play around with them ;-)

Well I just found out by accident that OpenCL 1.1 has been released. I don't have much time atm, but you may follow the project http://bitbucket.org/trass3r/cl4d/wiki/Home Contribution is also very welcome.
Jul 24 2010
prev sibling next sibling parent reply Trass3r <un known.com> writes:
I applied most the v1.1 changes to the bindings.
cl_platform.d still needs to be done.

http://bitbucket.org/trass3r/cl4d/changesets
Jul 24 2010
parent reply notna <notna.remove.this ist-einmalig.de> writes:
cool, thanks for the updates

Am 24.07.2010 17:22, schrieb Trass3r:
 I applied most the v1.1 changes to the bindings.
 cl_platform.d still needs to be done.

 http://bitbucket.org/trass3r/cl4d/changesets

Jul 24 2010
parent reply Stephan <spam extrawurst.org> writes:
On 26.07.2010 00:57, Trass3r wrote:
 cool, thanks for the updates

Made substantial further changes. Which platform are you working on? If it is non-Windows please report whether it works. If you write sample code using cl4d resp. the underlying bindings please also submit to me (via bitbucket).

i just tested it to build on windows and it does not build at all (dmd 2047): opencl\program.d(107): Error: forward reference to 'CLObjectCollection(cl_device_id)' opencl\program.d(107): Error: CLDevices is used as a type
Jul 26 2010
parent Stephan <spam extrawurst.org> writes:
i hope this one gets into the next dmd release.
Jul 26 2010
prev sibling next sibling parent Trass3r <un known.com> writes:
 cool, thanks for the updates

Made substantial further changes. Which platform are you working on? If it is non-Windows please report whether it works. If you write sample code using cl4d resp. the underlying bindings please also submit to me (via bitbucket).
Jul 25 2010
prev sibling next sibling parent Trass3r <un known.com> writes:
 i just tested it to build on windows and it does not build at all (dmd  
 2047):

 opencl\program.d(107): Error: forward reference to  
 'CLObjectCollection(cl_device_id)'
 opencl\program.d(107): Error: CLDevices is used as a type

Yeah, the code depends on this patch: http://d.puremagic.com/issues/show_bug.cgi?id=4503 Gotta add this note somewhere. If you compile it with a patched dmd, you should only get linker errors which are most definitely caused by the change of the calling convention in OpenCL 1.1. As soon as Nvidia releases drivers for 1.1 I will update the OpenCL.lib import library.
Jul 26 2010
prev sibling next sibling parent Trass3r <un known.com> writes:
 i hope this one gets into the next dmd release.

Well, I also posted it in dmd-internals but who knows. I use a heavily patched dmd anyway.
Jul 27 2010
prev sibling parent Trass3r <un known.com> writes:
Am 27.07.2010, 00:00 Uhr, schrieb Stephan <spam extrawurst.org>:
 i hope this one gets into the next dmd release.

Indeed it made it into 2.048 :D And yet another bug when using inferred return types has been fixed. I had to work around that one so far.
Aug 11 2010