[cfe-dev] [OpenCL] Pipe packet size/alignment.

Anastasia Stulova via cfe-dev cfe-dev at lists.llvm.org
Tue Aug 9 09:46:07 PDT 2016


Adding Valery from the earlier discussion.

@Valery, it doesn't seem there is much interest to support SPIR 2.0 due to the latest SPIR-V development I guess. I suggest you look at the review Alexey is planned to create to see if the code can be merged into something usable in both cases.

Anastasia

From: Bader, Alexey [mailto:alexey.bader at intel.com]
Sent: 09 August 2016 16:30
To: Anastasia Stulova; cfe-dev (cfe-dev at lists.llvm.org)
Cc: nd; Sotkin, Alexey
Subject: RE: [OpenCL] Pipe packet size/alignment.

I haven't start working on this change yet, but I'm planning aligning with SPIR-V specification rather than SPIR 2.0.
SPIR-V is not based on LLVM IR and doesn't specify type/function names, so at the moment I'm planning only adding pipe packet size and alignment w/o "changing resulting builtin names and changing pipe argument to "struct opencl.pipe*"".

Thanks,
Alexey

From: Anastasia Stulova [mailto:Anastasia.Stulova at arm.com]
Sent: Monday, August 8, 2016 6:34 PM
To: Bader, Alexey <alexey.bader at intel.com<mailto:alexey.bader at intel.com>>; cfe-dev (cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>) <cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>>
Cc: nd <nd at arm.com<mailto:nd at arm.com>>
Subject: RE: [OpenCL] Pipe packet size/alignment.

Yes, I think this might be useful for the compiler to have this extra bits in, even though it was agreed originally not to add it. I think it was considered as something that is not absolutely necessary to have.

Would your change be aligned with SPIR 2.0 as asked during the previous discussion here:
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160711/164847.html

Thanks,
Anastasia

From: Bader, Alexey [mailto:alexey.bader at intel.com]
Sent: 08 August 2016 09:53
To: cfe-dev (cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>); Anastasia Stulova
Subject: [OpenCL] Pipe packet size/alignment.

Hi,

I'd like to add pipe packet size and alignment information to LLVM IR as pipe built-in function parameters as defined in SPIR 2.0 provisional specification<https://www.khronos.org/registry/spir/specs/spir_spec-2.0.pdf>.

Previous discussion on this topic can be found in the review comments here: https://reviews.llvm.org/D15914.

Any objections/comments?

- Alexey


--------------------------------------------------------------------
Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--------------------------------------------------------------------
Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160809/59718d03/attachment-0001.html>


More information about the cfe-dev mailing list