cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Any advice how to optimize OpenGL on hawaii architecture?

Hi!

I started learning programming opengl several weeks ago. With a strong java background it isn't that hard. Nonetheless I want to write efficient code. Thus i am looking for resources how to optimize for amd hawaii architecture. Any hints?

Thanks for any help and input.

Regards

Marcus-from-europe

0 Likes
8 Replies
realhet
Miniboss

Re: Any advice how to optimize OpenGL on hawaii architecture?

Hi,

http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/open...

Also you can learn a lot from: http://developer.amd.com/wordpress/media/2013/07/AMD_Sea_Islands_Instruction_Set_Architecture.pdf

Some easy hints:

- Don't use more than  128 vector registers.

- Schedule at least 4x more workitems than the number of streams in the device.

- use 24bit integer math if it is possible

- ensure that the kernel code is not larger than 32KB (for the main loop.)

0 Likes
jtrudeau
Staff
Staff

Re: Any advice how to optimize OpenGL on hawaii architecture?

THANKS realhet!

Not specific to Hawaii, but see also OpenGL Programming Resourcesjust in case there's something generally useful.

0 Likes
realhet
Miniboss

Re: Any advice how to optimize OpenGL on hawaii architecture?

Oups, I just mismatched OpenGL with OpenCL. :S

0 Likes

Re: Any advice how to optimize OpenGL on hawaii architecture?

Hey guys! Thank you so far. I am looking for anything which is similar to this one here: http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/ATI_OpenGL_Programming_and_Optimizati...

Unfortunately the linked document is outdated and not specific to the actual gpu architecture...

0 Likes
jtrudeau
Staff
Staff

Re: Any advice how to optimize OpenGL on hawaii architecture?

Unfortunately, I'm not aware of anything specific that AMD has produced on this topic since the manual you cited, either generic or for the actual gpu architecture yo're interested in.  I'll dig around, but a preliminary hunt has turned up nothing.

0 Likes

Re: Any advice how to optimize OpenGL on hawaii architecture?

Thank you very much for your help. Maybe AMD will release some specific manuals as soon as Vulkan evolves.

0 Likes

Re: Any advice how to optimize OpenGL on hawaii architecture?

rodol
Adept I

Re: Any advice how to optimize OpenGL on hawaii architecture?

also here are the slides for GCN architecture crash curse

http://t.co/zOyz5DFa6D

these are from Layla Mah (@MissQuickstep) | Twitter

AMD Graphics & VR Architect

he twited those on feb-12-2014

also Graham Sellers

Graham Sellers (@grahamsellers) | Twitter

he is the opengl guy on amd

and author of the book "opengl super bible"

twit him, maybe he answer your question more directly