Searched refs:activeGPUIndex (Results 1 – 14 of 14) sorted by relevance
93 if (systemInfo->activeGPUIndex < 0 || systemInfo->gpus.empty()) in HasSystemVendorID()97 return systemInfo->gpus[systemInfo->activeGPUIndex].vendorId == vendorID; in HasSystemVendorID()234 VendorID vendorID = systemInfo.gpus[systemInfo.activeGPUIndex].vendorId; in IsConfigWhitelisted()
261 info->activeGPUIndex = active; in FindActiveGPU()291 std::cout << "Active GPU: " << info.activeGPUIndex << "\n"; in PrintSystemInfo()
96 info->activeGPUIndex = 0; in GetSystemInfo()
63 int activeGPUIndex = -1; member
347 if (systemInfo->activeGPUIndex != -1) in GetActiveGPU()349 index = systemInfo->activeGPUIndex; in GetActiveGPU()
287 info->activeGPUIndex = active; in GetDualGPUInfo()317 std::cout << "Active GPU: " << info.activeGPUIndex << "\n"; in PrintSystemInfo()
104 info->activeGPUIndex = 0; in GetSystemInfo()
204 info->activeGPUIndex = static_cast<int>(i);339 // such as isOptimus, isAMDSwitchable, and the activeGPUIndex342 // Then override the activeGPUIndex field of info to reflect the current
66 int activeGPUIndex = 0; member
565 ANGLE_SKIP_TEST_IF(0x6613 == systemInfo->gpus[systemInfo->activeGPUIndex].deviceId); in TEST_P()600 if (!(systemInfo->activeGPUIndex < 0 || systemInfo->gpus.empty())) in TEST_P()602 ANGLE_SKIP_TEST_IF(0x6613 == systemInfo->gpus[systemInfo->activeGPUIndex].deviceId); in TEST_P()
136 return &systemInfo->gpus[systemInfo->activeGPUIndex]; in GetActiveGPUDeviceInfo()410 systemInfo.gpus.empty() ? 0 : systemInfo.gpus[systemInfo.activeGPUIndex].vendorId; in IsConfigAllowlisted()
107 doc.AddMember("activeGPUIndex", info.activeGPUIndex, allocator); in main()
316 uint32_t index = systemInfo->activeGPUIndex; in GetActiveGPU()
1829 *outVendor = outSystemInfo->gpus[outSystemInfo->activeGPUIndex].vendorId; in GetSystemInfoVendorIDAndDeviceID()1830 *outDevice = outSystemInfo->gpus[outSystemInfo->activeGPUIndex].deviceId; in GetSystemInfoVendorIDAndDeviceID()