The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: OpenCL C++ Bindings

This includes removing the call to ::clEnqueueAcquireExternalObjects but also have added two new types cl::vector and cl:string that are alternatives too STL versions. See the documentation for details.

Re: OpenCL C++ Bindings

I've been trying to compile the C++ bindings files with no success. Has anyone done this successfully on an intel iMac osx 10.5.8. I get the following errors:
cl.h:452: error: expected initializer before 'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
.....
....

Re: OpenCL C++ Bindings

> I've been trying to compile the C++ bindings files with no success. Has anyone done this successfully on an intel iMac osx 10.5.8. I get > the following errors:
> cl.h:452: error: expected initializer before 'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
> ....
> ....

> any ideas?

I think the issue is that OpenCL will not be supported by Apple until the release of Snow Leopard, version 10.6 of its popular OS X. You can find out more details about Snow Leopard on Apple's website with notice that it will be publicly available August 28. Once you have this upgrade there should be no problem using the C++ bindings.

Re: OpenCL C++ Bindings

Originally Posted by bgaster

I have updated the C++ bindings to provide copy constructor for KernelFunctor and the following program now compiles without error:
<snip>
Please let me know if you have any problems using it and thanks for the feedback.