_declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1 _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001 Generally you just use the default device and perhaps add the following to your code to give a hint to any hybrid solution: extern "C" There's no easy way to identify them beyond vendor ID, and even then you can't be sure that's really what you'd be using due to hybrid graphics solutions like NVidia Optimus or AMD PowerXpress.
0 Comments
Leave a Reply. |