![]() |
wisdom
|
To select order of adapters use:
C version:
C++ version:
Orders the adapters according to preference using builtin heuristics of underlying APIs. For DirectX 12, this translates directly to DXGI_GPU_PREFERENCE. For Vulkan, sorting is based on VkPhysicalDeviceType heuristics.
DXGI_GPU_PREFERENCE for DirectX 12 implementation.Values:
WisAdapterPreferenceNone = 0: No particular preference, list adapters in system devised order.WisAdapterPreferenceMinConsumption = 1: List the adapters from low power consumption to high. DirectX 12: Integrated, Discrete, External, Software. Vulkan: Integrated GPU, Discrete GPU, Virtual GPU, CPU.WisAdapterPreferencePerformance = 2: List the adapters from high performance to low. DirectX 12: External, Discrete, Integrated, Software. Vulkan: Discrete GPU, Integrated GPU, Virtual GPU, CPU.GPU order may vary between the implementations due to differing heuristics.