[cfe-dev] [RFC] Support intel_reqd_sub_group_size attribute
Anastasia Stulova via cfe-dev
cfe-dev at lists.llvm.org
Thu Mar 9 11:03:55 PST 2017
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
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/20170309/039c1270/attachment.html>
More information about the cfe-dev
mailing list