[Halld-offline] openACC - new programming framework for GPU's
Richard Jones
richard.t.jones at uconn.edu
Wed Mar 21 14:47:58 EDT 2012
At the end of today's software meeting, we were chatting informally about the new nVidia GTX 680 that is coming out this week, and showing that we are still on the explosive growth curve in terms of gpu computing. You might want to look at the link below about openACC, which is an effort by Cray and PGI to try and move some of the heavy lifting of mapping algorithms onto gpu hardware into the compiler.
My guess is that we need fundamental new language semantics (programming paradigm might go too far) before that kind of thing will begin to be competitive with doing it yourself with CUDA or openCL. Note that on the wikipedia page for openACC they are advertising something like factors of 2 speedup for just compiling conventional codes in the new PGI compiler.
Big deal.
With Matt's code for 3pi, Igor has seen a speedup factor of 100 (meaning x100, not 100%) in 3pi amplitude generation on our little $500 nVidia GTX 580. With the new 680, probably 200. Our programmer is just finishing implementing the 5pi amplitude generator (for Igor's b1pi work, but more general) within Matt's framework. This is single-precision hardware, but we ran a test (double with cpu vs single with GPU) and found essentially no difference in the output at the end of a run.
I expect a larger speedup in that case than with 3pi because that problem has a larger floating point workload.
Anyone who wants to can just check out the 3pi code from the trunk of our svn repository, build and run Matt's 3pi generator on a gpu. As soon as we check in the 5pi classes, you can also build and run that.
-Richard J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2757 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20120321/de97ec6d/attachment.p7s>
More information about the Halld-offline
mailing list