The graphics card manufacturer has an optimization scheme. The following variables are exported from the program, and the compiled program will be executed with an independent graphics card. For the program compiled by the new version of compiler, the exported variables are pre underlined, and the - Vu parameter is not supported. I don't know how to solve it.
// And the AMD equivalent
// Also has to be .exe module to be correctly detected.
extern "C" __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 0x00000001;`
The graphics card manufacturer has an optimization scheme. The following variables are exported from the program, and the compiled program will be executed with an independent graphics card. For the program compiled by the new version of compiler, the exported variables are pre underlined, and the - Vu parameter is not supported. I don't know how to solve it.
`// http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf // The following line is to favor the high performance NVIDIA GPU if there are multiple GPUs // Has to be .exe module to be correctly detected. extern "C" __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
// And the AMD equivalent // Also has to be .exe module to be correctly detected. extern "C" __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 0x00000001;`