[cfe-dev] OpenCL Changes in v3.9

Hans Wennborg via cfe-dev cfe-dev at lists.llvm.org
Thu Aug 18 11:35:59 PDT 2016


Tom, do you know who to ping about this? Anastasia maybe?

On Thu, Aug 18, 2016 at 11:31 AM, Robinson, Paul via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Clearly there needs to be a release note about this!
>
> --paulr
>
>
>
> From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of Martin
> O'Riordan via cfe-dev
> Sent: Thursday, August 18, 2016 9:06 AM
> To: Tom Stellard
>
>
> Cc: Clang Dev
> Subject: Re: [cfe-dev] OpenCL Changes in v3.9
>
>
>
> That worked perfectly, thanks Tom
>
>
>
> On 18 August 2016 at 16:05, Martin J. O'Riordan
> <martin.oriordan at movidius.com> wrote:
>
> Thanks Tom, I'll try that.  I know that the OpenCL implementation has been
> seeing major work, but I hadn't realised that there was something new I
> would need to add to my target.
>
> All the best,
>
>         MartinO
>
> -----Original Message-----
> From: Tom Stellard [mailto:tom at stellard.net]
> Sent: 18 August 2016 15:52
> To: Martin J. O'Riordan
> Cc: 'Clang Dev'
> Subject: Re: [cfe-dev] OpenCL Changes in v3.9
>
> On Thu, Aug 18, 2016 at 03:47:59PM +0100, Martin J. O'Riordan via cfe-dev
> wrote:
>> 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
>>
>>
>>
>
> Hi,
>
> I think you need to implement: setSupportedOpenCLOpts() in your target's
> TargetInfo implementation.
>
> -Tom
>
>> 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
>>
>>
>>
>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>


More information about the cfe-dev mailing list