[cfe-dev] [RFC] Support intel_reqd_sub_group_size attribute

Pan, Xiuli via cfe-dev cfe-dev at lists.llvm.org
Thu Mar 9 18:54:43 PST 2017


Hi,

It just a simple metadata, and I will create review soon.

Thanks
Xiuli

From: Anastasia Stulova [mailto:Anastasia.Stulova at arm.com]
Sent: Friday, March 10, 2017 3:04 AM
To: Hal Finkel <hfinkel at anl.gov>; Pan Xiuli <xiulipan at outlook.com>; Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>; Bader, Alexey <alexey.bader at intel.com>; cfe-dev at lists.llvm.org
Cc: Pan, Xiuli <xiuli.pan at intel.com>; nd <nd at arm.com>
Subject: RE: [cfe-dev] [RFC] Support intel_reqd_sub_group_size attribute

Hi Xiuli,

Sure, feel free to create the review.

Sorry for delay, I missed that somehow! ☹

Anastasia

From: Hal Finkel [mailto:hfinkel at anl.gov]
Sent: 09 March 2017 15:49
To: Pan Xiuli; Anastasia Stulova; Liu, Yaxun (Sam); Bader, Alexey; cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>
Cc: Pan, Xiuli
Subject: Re: [cfe-dev] [RFC] Support intel_reqd_sub_group_size attribute



On 03/09/2017 09:44 AM, Hal Finkel via cfe-dev wrote:

Hi Xiuli,

This looks like a simple attribute to parse, __attribute__((intel_reqd_sub_group_size(<int>))), and I don't see why this would be controversial. I recommend just sending a patch for review.

I'm assuming that you're just going to emit corresponding kernel metadata. If the handling will be more involved than that, then it might be worth discussing beforehand.

 -Hal


 -Hal

On 02/28/2017 12:55 AM, Pan Xiuli via cfe-dev wrote:
Hi Anastasia,

We are now enabling some Intel OpenCL extension and find in extension cl_intel_required_subgroup_size (https://www.khronos.org/registry/OpenCL/extensions/intel/cl_intel_required_subgroup_size.txt) has an attribute intel_reqd_sub_group_size that is very useful for intel subgroup usage and does not supported by clang now. And I want to send a patch to enable it, what do you think about this?

Thanks
Xiuli




_______________________________________________

cfe-dev mailing list

cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>

http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


--

Hal Finkel

Lead, Compiler Technology and Programming Languages

Leadership Computing Facility

Argonne National Laboratory



_______________________________________________

cfe-dev mailing list

cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>

http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


--

Hal Finkel

Lead, Compiler Technology and Programming Languages

Leadership Computing Facility

Argonne National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170310/da1b66f1/attachment.html>


More information about the cfe-dev mailing list