I am trying to write a code in which I want to use the integrated graphics card for display and the high-end graphics card connected on the same sytem for computation. Need support for this from freeglut.
The user should be able to choose the adapter and compute device combination.
freeglut doesn't have any computation implementation, so it has no part in device selection, which is possible without freeglut support.
From what I read, on the graphics/display, that isn't possible with OpenGL (and freeglut) or Direct3D 11 and earlier. You'd need Vulkan or Direct3D 12.
Outside of using one of those, it's an application-level thing, not a framework/API thing.
AMD and Nvidia both offer applications for making application profiles to specify if the app uses the dedicated or integrated GPU. Most seem to default to embedded GPU for doing any graphics on a display. If you want your application to use the dedicated GPU, follow https://stackoverflow.com/questions/16823372/forcing-machine-to-use-dedicated-graphics-card
closing #91
On Wed, Aug 28, 2019 at 6:53 AM rcmaniac25 rcmaniac25@users.sourceforge.net
wrote:
Related
Feature Requests: #91