[cfe-dev] OpenCL Changes in v3.9

Anastasia Stulova via cfe-dev cfe-dev at lists.llvm.org
Thu Aug 18 11:47:39 PDT 2016


This information is included in the notes: https://reviews.llvm.org/D23452

It has been committed a couple of days ago, but I don't see it updated online though http://llvm.org/pre-releases/3.9.0/rc1/tools/clang/docs/ReleaseNotes.html/.

Is there some extra step to do in order to have it public?

Thanks,
Anastasia

-----Original Message-----
From: hwennborg at google.com [mailto:hwennborg at google.com] On Behalf Of Hans Wennborg
Sent: 18 August 2016 19:36
To: Robinson, Paul; Anastasia Stulova
Cc: Martin O'Riordan; Tom Stellard; cfe-dev at lists.llvm.org
Subject: Re: [cfe-dev] OpenCL Changes in v3.9

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