Bug#695124: opencl-headers: New upstream version available

Andreas Beckmann debian at abeckmann.de
Fri Dec 7 08:43:26 UTC 2012


On 2012-12-04 15:01, Vincent Danjean wrote:
>   Can you update this package (at least in experimental) with the latest
> Khronos headers. They seem to have been updated.
> http://www.khronos.org/registry/cl/
> 
>   Note that Revision/Date line have not been updated :-( but copyright lines
> have been updated. Looking at the date I got with wget, all downloaded files
> are from Nov. 30 but cl.hpp that is Oct. 5.
>   So, I suggest using 1.2-2012.11.30 as an upstream version number.

Thanks for checking. New upstream added to SVN.

>   I did not check explicitly, but I saw modification in management of deprecated functions in cl.hpp, so I think this update will close #684444.

Confirmed.

But: 1.2-2012.11.30 fails to compile anything:

g++:
1.2-2012.11.30/CL/cl_ext.h:148:88: error: expected initializer before ‘CL_EXT_SUFFIX_VERSION_1_2’
1.2-2012.11.30/CL/cl_ext.h:150:95: error: expected initializer before ‘CL_EXT_SUFFIX_VERSION_1_2’

gcc:
1.2-2012.11.30/CL/cl_ext.h:148:88: error: expected declaration specifiers before ‘CL_EXT_SUFFIX_VERSION_1_2’

$ grep -rn CL_EXT_SUFFIX_VERSION_1_2 1.2-2012.11.30
1.2-2012.11.30/cl_ext.h:148:extern CL_API_ENTRY cl_int CL_API_CALL clTerminateContextKHR(cl_context /* context */) CL_EXT_SUFFIX_VERSION_1_2;
1.2-2012.11.30/cl_ext.h:150:typedef CL_API_ENTRY cl_int (CL_API_CALL *clTerminateContextKHR_fn)(cl_context /* context */) CL_EXT_SUFFIX_VERSION_1_2;

Andreas



More information about the pkg-nvidia-devel mailing list