OpenACC

Asic transit gloria mundi.
D-POWER
Posts: 16
Joined: Tue Dec 25, 2012 8:16 am

OpenACC

Postby D-POWER » Mon Jan 07, 2013 3:07 pm

OpenACC is a new open parallel programming standard designed to enable the millions of scientific and technical Fortran and C programmers to easily take advantage of the transformative power of heterogeneous CPU/GPU computing systems.


Anyone has tried openacc? It seems interesting and very easy to use, but I'd like to know if it can deliver the same performance as hand-written cuda code.

spectral
Posts: 382
Joined: Wed Nov 30, 2011 2:27 pm
Contact:

Re: OpenACC

Postby spectral » Tue Jan 08, 2013 1:15 pm

I don't know OpenACC but you have to know that nothing can deliver the speed of hand tuned CUDA code...

Simply because it is so complex to acheive the "best" performance that we can only do this based on tuning experience.

For sure, it can help to improve the speed but don't expect some kind of magic.

You have to know that by example, even CUDA is faster than OpenCL because the compiler contains more optimizations ;-)
Spectral
OMPF 2 global moderator

Dade
Posts: 206
Joined: Fri Dec 02, 2011 8:00 am

Re: OpenACC

Postby Dade » Tue Jan 08, 2013 6:24 pm

spectral wrote:I don't know OpenACC but you have to know that nothing can deliver the speed of hand tuned CUDA code...


Something I have just finished to read: http://gpuscience.com/articles/programm ... libraries/

spectral wrote:You have to know that by example, even CUDA is faster than OpenCL because the compiler contains more optimizations ;-)


CUDA isn't particularly fast if you don't own a NVIDIA GPU ;)

More seriously, I have some doubt OpenACC/C++ AMP/Bold/etc. are particularly useful in our field: performance is just too important and they seem fast only when applied to simple and/or specific kind of problems. I think it is the same reason why we have bags full of tricks and we live with 32 bit float instead of using double.


Return to “GPU”

Who is online

Users browsing this forum: No registered users and 1 guest