iDevGames Forums
AMD/ATI OpenCL best practices? - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: AMD/ATI OpenCL best practices? (/thread-508.html)



AMD/ATI OpenCL best practices? - Holmes - Dec 16, 2009 07:37 PM

Hello,

I'm wondering if anyone can point me to good resources on best practices for OpenCL when targeting ATI GPUs.

Nvidia provides a very nice best practices guide when targeting their hardware:
http://www.nvidia.com/content/cudazone/CUDABrowser/downloads/papers/NVIDIA_OpenCL_BestPracticesGuide.pdf

However I know that there are some differences when targeting ATI ... the warp/wavefront size is different, I think, and I've also heard that you gain performance by using vector types, which is not the case when programming on NVidia.

Anybody have some good resources?

thanks,

- Holmes


AMD/ATI OpenCL best practices? - SethWillits - Dec 17, 2009 12:45 PM

Wow You're not dead after all!!

I wish I had some tips for you, but I don't. I only ever figured out how to use it and write some things with it, but never got to trying to tune for specific vendors.


AMD/ATI OpenCL best practices? - arekkusu - Dec 17, 2009 02:14 PM

The OpenCL devforum is probably your best bet for answers.


AMD/ATI OpenCL best practices? - Holmes - Dec 20, 2009 03:53 PM

FreakSoftware Wrote:Wow You're not dead after all!!

I'm in grad school right now, which I guess means I've just joined the ranks of the un-dead.

FreakSoftware Wrote:I wish I had some tips for you, but I don't. I only ever figured out how to use it and write some things with it, but never got to trying to tune for specific vendors.

I had to program in CUDA a lot for a course in parallel programming, which is where I learned to target NVidia hardware. The best practices for OpenCL on Nvidia was essentially written as a copy paste job from the guide for CUDA. So I actually know way more about targeting Nvidia hardware than I would care to now ... Bored ZZZ Cry


AMD/ATI OpenCL best practices? - SethWillits - Dec 20, 2009 04:17 PM

Hehe. Well hopefully OpenCL implementations can do the majority of any tuning for us.


RE: AMD/ATI OpenCL best practices? - Holmes - Feb 25, 2011 03:05 PM

To answer my own question over a year later, AMD now does have an OpenCL programming guide which includes everything you need to optimize for their architecture. Since AMD abandoned its own standard in favor of OpenCL it may be destined to become the most significant OpenCL supporter in industry. My how things change ...

AMD Stream Computing OpenCL