cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

bsmith77
Adept I

Can an OpenGL app default to the discrete GPU on an Enduro system?

On a laptop with NVidia Optimus, there a several methods to get an OpenGL application to default to the discrete GPU, rather than the Intel integrated GPU.  The easiest method is to export NvOptimusEnablement from your app (http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.p...).

Is there any way to do this with an AMD GPU, other than through the Catalyst profile?  If not, where can a company request support for their application's profile in the Catalyst driver? (the app is a commercial Solid Modelling/CAD package)

0 Likes
1 Solution
chm
Staff
Staff

Hi,

you can use:

extern "C"
{
  __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}

This will select the high performance GPU as long as no profile exists that assigns the application to another GPU.

Please make sure to use a 13.35 or newer driver. Older drivers do not support this.

Chris

View solution in original post

2 Replies
chm
Staff
Staff

Hi,

you can use:

extern "C"
{
  __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}

This will select the high performance GPU as long as no profile exists that assigns the application to another GPU.

Please make sure to use a 13.35 or newer driver. Older drivers do not support this.

Chris

We tested it out (with the 14.12 driver), and it works as expected.  Thanks!

I cross-posted your answer to the related forum question (Force high performance GPU programmatically on Switchable Graphics) and also on StackOverflow (gpu - AMD equivalent to NvOptimusEnablement - Stack Overflow).

0 Likes