<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>(Disabling lurk mode)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I must admit, I believe this would be an extremely valuable
addition to llvm, to the point where I was also seriously considering writing
this backend. The main thing holding me back is the thought that other people
are almost certainly working on the same thing (probably including nvidia)!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I assume it’s not yet ready to publish, but it’s
worth remembering that feedback from use of research in practice is a major plus
point for any thesis </span><span style='font-size:11.0pt;font-family:Wingdings;
color:#1F497D'>J</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>+1 for even a tarball please!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ta,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sam<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> llvmdev-bounces@cs.uiuc.edu
[mailto:llvmdev-bounces@cs.uiuc.edu] <b>On Behalf Of </b>llvmdev@erichocean.oib.com<br>
<b>Sent:</b> 28 March 2010 15:40<br>
<b>To:</b> llvmdev@cs.uiuc.edu<br>
<b>Subject:</b> Re: [LLVMdev] PTX target for LLVM?<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>To the list:<br>
<br>
Tons of LLVM research is being done that is damn near worthless to anyone but
the person who did it because the team doesn't publish supporting code or even
describe at a high level description of the algorithms they're using. And the
excuse is always, ALWAYS the same: "we need to clean up the code before we
release it."<br>
<br>
No! Just put a repository up (or make a tarball)! This is open source. Code is
never perfect, so just put it out there with the same BSD-style license as
LLVM. Every programmer can read code, even bad code, especially when there's a
research paper or thesis to go along with it. Every delay in releasing code
just slows down the progress of the the world. That's the only
"benefit": slowing the progress of other researchers. If the code is
needed to replicate your research, for the love of Turing *publish it alongside
the research*.<br>
<br>
Look, the LLVM project has already set a great example with its permissive BSD
license and all LLVM development is done out in the open; I see (and read)
every commit. The rest of us need to get with the program and follow suit. If
you publish research built on top of LLVM, please,*please*, PLEASE at least
make a tarball of the source code available alongside the research so the rest
of us can view it, build on it, and improve it.<br>
<br>
Thanks!<br>
<br>
Best, Erich Ocean<br>
<br>
P.s. I too would like access to a PTX backend for LLVM. :-)<br>
<br>
On Sat, Mar 27, 2010 at 6:28 PM, Ralf Karrenberg (Chareos@gmx.de) wrote:<br>
> <br>
> Hey,<br>
> <br>
> Chris Lattner schrieb: <br>
> > On Mar 26, 2010, at 11:28 PM, Puyan Lotfi wrote: <br>
> > <br>
> >> Hi <br>
> >> <br>
> >> I am interested to know: are there are any LLVM targets in the
works <br>
> >> for Nvidia's PTX ISA? <br>
> >> <br>
> >> Also if anyone knows about Ocelot (a project done by some
students at <br>
> >> my school): it does the opposite of what I am trying to do
(translates <br>
> >> PTX to LLVM IR to run Cuda kernels on the CPU). <br>
> > <br>
> > I don't know of any, but that would be a great project if the nvidia
toolchain is sufficiently available for it to be useful to open source folks.<br>
> <br>
> Helge Rhodin, a student at Saarland University, has already written a <br>
> PTX backend for LLVM as part of his bachelor's thesis. We currently use <br>
> it for a deferred shading system of a rasterizer. <br>
> The plan is to reintegrate it into the LLVM trunk, but we have not yet <br>
> made any steps into this direction.<br>
> <br>
> Best regards, <br>
> Ralf <br>
> _______________________________________________ <br>
> LLVM Developers mailing list <br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a
href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a> <br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
<br>
> <o:p></o:p></p>

</div>

</body>

</html>