AMD/ATI OpenCL best practices?

Member
Posts: 142
Joined: 2002.11
Post: #1
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/C...sGuide.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
Quote this message in a reply
⌘-R in Chief
Posts: 1,256
Joined: 2002.05
Post: #2
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.
Quote this message in a reply
Sage
Posts: 1,232
Joined: 2002.10
Post: #3
The OpenCL devforum is probably your best bet for answers.
Quote this message in a reply
Member
Posts: 142
Joined: 2002.11
Post: #4
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
Quote this message in a reply
⌘-R in Chief
Posts: 1,256
Joined: 2002.05
Post: #5
Hehe. Well hopefully OpenCL implementations can do the majority of any tuning for us.
Quote this message in a reply
Member
Posts: 142
Joined: 2002.11
Post: #6
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
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  OpenCL deferred lighting demo Holmes 9 12,085 Feb 22, 2011 07:53 PM
Last Post: Holmes
  Snow Leopard and OpenCL TythosEternal 4 4,263 Jun 12, 2009 08:05 AM
Last Post: AnotherJake