<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br>Jon Forrest &lt;jlforrest@berkeley.edu&gt; wrote:<br><br>&gt;On 2/1/2010 7:24 AM, richard.walsh@comcast.net wrote:<br>&gt;<br>&gt;&gt; Coming in on this late, but to reduce this work load there is PGI's version<br>&gt;&gt; 10.0 compiler suite which supports accelerator compiler directives. This<br>&gt;&gt; will reduce the coding effort, but probably suffer from the classical<br>&gt;&gt; "if it is<br>&gt;&gt; easy, it won't perform as well" trade-off. My experience is limited, but<br>&gt;&gt; a nice intro can be found at:<br>&gt;<br>&gt;I'm not sure how much traction such a thing will get.<br>&gt;Let's say you have a big Fortran program that you want<br>&gt;to port to CUDA. Let's assume you already know where the<br>&gt;program spends its time, so you know which routines<br>&gt;are good candidates for running on the GPU.<br>&gt;<br>&gt;Rather than rewriting the whole program in C[++],<br>&gt;wouldn't it be easiest to leave all the non-CUDA<br>&gt;parts of the program in Fortran, and then to call<br>&gt;CUDA routines written in C[++]. Since the CUDA<br>&gt;routines will have to be rewritten anyway, why<br>&gt;write them in a language which would require<br>&gt;purchasing yet another compiler?<br><br></font><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Mmm ... not sure I understand the response, but perhaps this response</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">was to a different message ... ?? &nbsp; In any case, the PGI software supports</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">accelerator directives for both C and Fortran, so for those languages I do</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">not see a need to rewrite whole applications. &nbsp;The question presented is</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">the same as always, what does the performance-programming effort function</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">look like and how well does your code perform with directives to start</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">with. &nbsp;The PGI models is also hardware&nbsp;generic and the code runs on</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">the CPU in parallel when there is no GPU&nbsp;around I believe. &nbsp;What will</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">gate interest is how well PGI compiler group does at delivering performance</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">and how important portability is to the person developing the code.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">HMPP make offers a similar proposition ...</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rbw</font></div><div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">_______________________________________________<br>Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing<br>To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf</font><br></div></div></div></body></html>