<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">+1, count me in.<div class=""><br class=""></div><div class="">Cheers,</div><div class="">-Quentin<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 11, 2021, at 10:22 AM, Jason Eckhardt via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">+1 here as well, even if in lurk mode initially.</div><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=""><br class=""></div><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">Some additional topics of interest:<br class=""></div><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=""><ol class=""><li class=""><span class=""><i class="">Occupancy vs resource trade-offs (especially registers)</i>. Requires closer coordination of scheduling + register allocation, in addition to extensions in each. </span></li><li class=""><span class=""><i class="">Divergence analysis/uniformity analysis</i>. Applications to sync insertion, scalar vs vector register allocation, instruction selection, etc.<br class=""></span></li><li class=""><span class=""><i class="">Synchronization insertion</i>. Some GPUs have instructions to hint where a good re-convergence point is.</span></li><li class=""><span class=""><i class="">Global instruction scheduling</i>. Some GPU code is surprisingly branchy. Numerous out-of-tree/proprietary global schedulers have been written, we<span class="Apple-converted-space"> </span><i class="">still</i><span class="Apple-converted-space"> </span>don't have one upstream.<br class=""></span></li><li class=""><span class="">I<i class="">ncreasing overall back-end speed for JIT compilation</i>. GPU back-ends are often situated within graphics drivers where they dynamically compile shaders with absurdly stringent timing constraints. GlobalISel is a step in the right direction, but more needs doing (particularly for small shaders).<span class="Apple-converted-space"> </span><br class=""></span></li></ol><div class="">As an example, #1 is handled (if at all) specially by each target. With the proliferation of GPUs (Teams Red, Green, Blue, and others), it would be useful for "all boats to float higher" with generic code (with target-specific hooks/overrides) supported by the wider community as opposed to redundant re-invention of the wheel (or no wheel at all, as in #4). Then specific targets can expend effort adding value for their particular needs.<span class="Apple-converted-space"> </span><br class=""></div><div class=""><br class=""></div></div><div id="appendonsend" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div><hr tabindex="-1" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline-block; width: 695.796875px;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""></span><div id="divRplyFwdMsg" dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>llvm-dev <<a href="mailto:llvm-dev-bounces@lists.llvm.org" class="">llvm-dev-bounces@lists.llvm.org</a>> on behalf of Lei Zhang via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Thursday, November 11, 2021 9:44 AM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Valentin Churavy <<a href="mailto:v.churavy@gmail.com" class="">v.churavy@gmail.com</a>><br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>Lieberman, Ron <<a href="mailto:Ron.Lieberman@amd.com" class="">Ron.Lieberman@amd.com</a>>;<span class="Apple-converted-space"> </span><a href="mailto:justin.lebar@gmail.com" class="">justin.lebar@gmail.com</a><span class="Apple-converted-space"> </span><<a href="mailto:justin.lebar@gmail.com" class="">justin.lebar@gmail.com</a>>; Chesterfield, Jonathan <<a href="mailto:Jonathan.Chesterfield@amd.com" class="">Jonathan.Chesterfield@amd.com</a>>;<span class="Apple-converted-space"> </span><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><span class="Apple-converted-space"> </span><<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>>;<span class="Apple-converted-space"> </span><a href="mailto:tianshilei1992@gmail.com" class="">tianshilei1992@gmail.com</a><span class="Apple-converted-space"> </span><<a href="mailto:tianshilei1992@gmail.com" class="">tianshilei1992@gmail.com</a>>; Rodgers, Gregory <<a href="mailto:Gregory.Rodgers@amd.com" class="">Gregory.Rodgers@amd.com</a>>; Huber, Joseph <<a href="mailto:huberjn@ornl.gov" class="">huberjn@ornl.gov</a>>; Narayanaswamy, Ravi <<a href="mailto:ravi.narayanaswamy@intel.com" class="">ravi.narayanaswamy@intel.com</a>><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [llvm-dev] Should we have a "GPU working group"?</font><div class=""> </div></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><table bgcolor="#FFEB9C" border="1" class=""><tbody class=""><tr class=""><td class=""><font face="verdana" size="1" class=""><b class="">External email: Use caution opening links or attachments</b></font></td></tr></tbody></table><br class=""><div class=""><div dir="ltr" class="">+1. There are certainly efforts that need broad collaboration among various interest parties; they would benefit from more interactive discussions to have everybody on the same page. What immediately jumps into my mind include how we can push to have unified/better SPIR-V support in LLVM proper / cross LLVM/MLIR, etc. It's a big one that I'd assume will take a long time to unfold and will have back and forth. Having a place to discuss will actually make sure we put efforts towards it (or at least have plans and revisit periodically). There are certainly many other topics to discuss too, as said by Johannes. I think this is a great idea.<div class=""><br clear="all" class=""><div class=""><div dir="ltr" class="x_gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Thanks,<div class="">Lei</div></div></div></div></div></div><br class=""></div></div><br class=""><div class="x_gmail_quote"><div dir="ltr" class="x_gmail_attr">On Wed, Nov 10, 2021 at 4:03 PM Valentin Churavy via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class=""></div><blockquote class="x_gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div class="">I would certainly be interested in joining such an effort.</div><div class=""><br class=""></div><div class="">-V<br class=""></div></div><br class=""><div class="x_gmail_quote"><div dir="ltr" class="x_gmail_attr">On Wed, Nov 10, 2021 at 3:56 PM Johannes Doerfert via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class=""></div><blockquote class="x_gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">Hey,<br class=""><br class="">We nowadays have various "working groups" that meet regularly to discuss<span class="Apple-converted-space"> </span><br class="">technical topics (incl. RISC-V, MLIR, OpenMP, Alias Analysis, ML, Flang,<span class="Apple-converted-space"> </span><br class="">...).<br class="">It's a reasonably nice way for people to connect and present ideas, get<span class="Apple-converted-space"> </span><br class="">feedback, etc. in an interactive environment.<br class="">While the OpenMP meeting has a strong emphasis on offloading, we do not<span class="Apple-converted-space"> </span><br class="">meet to discuss "generic GPU" topics as a community.<br class=""><br class="">This email is to determine if people would be interested in meeting once<span class="Apple-converted-space"> </span><br class="">every N weeks (initially we could say 2) to coordinate efforts in this<span class="Apple-converted-space"> </span><br class="">space, e.g., development of GPU-specific optimizations, organization of<span class="Apple-converted-space"> </span><br class="">driver and backend code, dealing with issues like convergent functions, ...<br class=""><br class="">I CC'ed a bunch of people that might want to join such a meeting but<span class="Apple-converted-space"> </span><br class="">certainly this is something everyone would be invited to and I hope<span class="Apple-converted-space"> </span><br class="">people forward this to parties that might not read llvm-dev.<br class=""><br class="">Looking forward to hear what people think :)<br class=""><br class="">~ Johannes<br class=""><br class=""><br class=""><br class=""><br class="">--<span class="Apple-converted-space"> </span><br class="">───────────────────<br class="">∽ Johannes (he/his)<br class=""><br class="">_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a><br class=""><a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.llvm.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fllvm-dev&data=04%7C01%7Cjeckhardt%40nvidia.com%7Cea5003810a644cc981b308d9a52a252b%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637722422720796637%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Wqe0548FXifuicYy39N8YafF3IUqZaATKgAYHctuPv4%3D&reserved=0" originalsrc="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" shash="aK8cdXY0GoS9brdOAse2OEW3V/BoKOG3I7MVhFp+oPNaCvNO6JSvX/mtcgy18A9LmBTl9MJaBR/UwZQ34xjYoDKd9pYSUIPqOYhGxIvzArODtL9s346GfdWkTpNX8aCm+bIF7ogJE7SWuTGLfYQPR732t2RmlXpgtJXmIt2oS0Y=" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class=""></blockquote></div>_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a><br class=""><a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.llvm.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fllvm-dev&data=04%7C01%7Cjeckhardt%40nvidia.com%7Cea5003810a644cc981b308d9a52a252b%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637722422720806639%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5ygaPNgaF5YXRlFV1wF9VajRsEZsySt7z2OCHokcHBc%3D&reserved=0" originalsrc="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" shash="dxmhsv7eziBTFnLor/hau2yE+s1Yqb4m41zJapJ4OM2fdkxQV8zBASbzLNd1cBOXveHWxzsSehXO8jfEYd361amrE0eSZhg+xCdaVhk+dfxQa7sajNvB1uEXbxobOmiCMNYl/dUuMPtyOjVZvMfOkHdVBaiLyU8BBK7ZTKk2k3Q=" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class=""></blockquote></div></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">LLVM Developers mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a></span></div></blockquote></div><br class=""></div></body></html>