[cfe-dev] OpenCL Changes in v3.9

Martin J. O'Riordan via cfe-dev cfe-dev at lists.llvm.org
Thu Aug 18 07:47:59 PDT 2016


Hi,

 

I am trying to migrate to CLang/LLVM v3.9, and I am no longer able to build
some of my libraries.  The code have uses the following:

 

#pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable

#pragma OPENCL EXTENSION cl_khr_fp16 : enable

 

and these result in the following warnings:

 

warning: unsupported OpenCL extension 'cl_clang_storage_class_specifiers' -
ignoring [-Wignored-pragmas]

warning: unsupported OpenCL extension 'cl_khr_fp16' - ignoring
[-Wignored-pragmas]

 

This used to work, and a consequence of these not being recognised is that I
get subsequent errors when I try to use the feature.

 

Is there a new way of saying this?

 

Thanks,

 

            MartinO

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160818/f47451ef/attachment.html>


More information about the cfe-dev mailing list