Home
last modified time | relevance | path

Searched refs:gpus (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo.cpp69 for (const GPUDeviceInfo &gpu : gpus) in hasNVIDIAGPU()
81 for (const GPUDeviceInfo &gpu : gpus) in hasIntelGPU()
93 for (const GPUDeviceInfo &gpu : gpus) in hasAMDGPU()
264 ASSERT(!info->gpus.empty()); in GetDualGPUInfo()
274 for (size_t i = 0; i < info->gpus.size(); ++i) in GetDualGPUInfo()
276 if (IsIntel(info->gpus[i].vendorId)) in GetDualGPUInfo()
280 if (IsIntel(info->gpus[active].vendorId)) in GetDualGPUInfo()
288 info->isOptimus = hasIntel && IsNVIDIA(info->gpus[active].vendorId); in GetDualGPUInfo()
289 info->isAMDSwitchable = hasIntel && IsAMD(info->gpus[active].vendorId); in GetDualGPUInfo()
294 std::cout << info.gpus.size() << " GPUs:\n"; in PrintSystemInfo()
[all …]
DSystemInfo_linux.cpp74 if (!GetPCIDevicesWithLibPCI(&(info->gpus))) in GetSystemInfo()
84 if (info->gpus.size() == 0) in GetSystemInfo()
91 for (size_t i = 0; i < info->gpus.size(); ++i) in GetSystemInfo()
93 GPUDeviceInfo *gpu = &info->gpus[i]; in GetSystemInfo()
129 if (IsIntel(gpu->vendorId) && info->gpus.size() == 1) in GetSystemInfo()
140 info->gpus.emplace_back(std::move(nvidiaInfo)); in GetSystemInfo()
DSystemInfo_macos.mm200 for (size_t i = 0; i < info->gpus.size(); ++i)
202 if (info->gpus[i].vendorId == activeVendor && info->gpus[i].deviceId == activeDevice)
332 GetIORegistryDevices(&info->gpus);
333 if (info->gpus.empty())
355 if (info->gpus.size() == 2 &&
356 ((IsIntel(info->gpus[0].vendorId) && !IsIntel(info->gpus[1].vendorId)) ||
357 (!IsIntel(info->gpus[0].vendorId) && IsIntel(info->gpus[1].vendorId))))
DSystemInfo_win.cpp89 if (!GetDevicesFromDXGI(&info->gpus)) in GetSystemInfo()
94 if (info->gpus.size() == 0) in GetSystemInfo()
DSystemInfo_ios.cpp25 info->gpus.push_back(deviceInfo); in GetSystemInfo_ios()
DSystemInfo_vulkan.cpp158 info->gpus.resize(physicalDeviceCount); in GetSystemInfoVulkanWithICD()
165 GPUDeviceInfo &gpu = info->gpus[i]; in GetSystemInfoVulkanWithICD()
DSystemInfo.h61 std::vector<GPUDeviceInfo> gpus; member
/third_party/skia/third_party/externals/angle2/src/feature_support_util/
Dfeature_support_util_unittest.cpp26 mSystemInfo.gpus.resize(1); in FeatureSupportUtilTest()
27 mSystemInfo.gpus[0].vendorId = 123; in FeatureSupportUtilTest()
28 mSystemInfo.gpus[0].deviceId = 234; in FeatureSupportUtilTest()
29 mSystemInfo.gpus[0].driverVendor = "GPUVendorA"; in FeatureSupportUtilTest()
30 mSystemInfo.gpus[0].detailedDriverVersion = {1, 2, 3, 4}; in FeatureSupportUtilTest()
153 systemInfo.gpus[0].detailedDriverVersion = {1, 2, 3, 5}; in TEST_F()
Dfeature_support_util.cpp812 systemInfo->gpus.resize(1); in ANGLEGetSystemInfo()
813 GPUDeviceInfo &gpu = systemInfo->gpus[0]; in ANGLEGetSystemInfo()
847 if (!rules || !systemInfo || !appName || (systemInfo->gpus.size() != 1)) in ANGLEShouldBeUsedForApplication()
854 Version gpuDriverVersion(systemInfo->gpus[0].detailedDriverVersion.major, in ANGLEShouldBeUsedForApplication()
855 systemInfo->gpus[0].detailedDriverVersion.minor, in ANGLEShouldBeUsedForApplication()
856 systemInfo->gpus[0].detailedDriverVersion.subMinor, in ANGLEShouldBeUsedForApplication()
857 systemInfo->gpus[0].detailedDriverVersion.patch); in ANGLEShouldBeUsedForApplication()
858 GPU gpuDriver(systemInfo->gpus[0].driverVendor, systemInfo->gpus[0].deviceId, in ANGLEShouldBeUsedForApplication()
/third_party/mesa3d/src/etnaviv/drm-shim/
Detnaviv_noop.c42 static const struct etna_shim_gpu gpus[] = { variable
238 for (unsigned i = 0; i < ARRAY_SIZE(gpus); i++) { in drm_shim_driver_init()
239 if (strncasecmp(gpu, gpus[i].name, strlen(gpus[i].name)) == 0) { in drm_shim_driver_init()
240 shim_gpu = &gpus[i]; in drm_shim_driver_init()
247 shim_gpu = &gpus[1]; in drm_shim_driver_init()
/third_party/skia/third_party/externals/angle2/src/tests/
Dangle_system_info_tests_main.cpp97 if (info.gpus.empty()) in main()
119 js::Value gpus; in main() local
120 gpus.SetArray(); in main()
122 for (const angle::GPUDeviceInfo &gpu : info.gpus) in main()
150 gpus.PushBack(obj, allocator); in main()
153 doc.AddMember("gpus", gpus, allocator); in main()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLDisplayPowerPreferenceTest.cpp28 if (mSystemInfo.gpus.size() < 2) in findGPU()
32 for (int i = 0; i < static_cast<int>(mSystemInfo.gpus.size()); ++i) in findGPU()
34 if (lowPower && IsIntel(mSystemInfo.gpus[i].vendorId)) in findGPU()
39 else if (!lowPower && !IsIntel(mSystemInfo.gpus[i].vendorId)) in findGPU()
53 for (int i = 0; i < static_cast<int>(mSystemInfo.gpus.size()); ++i) in findActiveGPU()
55 if (rendererString.find(VendorName(mSystemInfo.gpus[i].vendorId)) != std::string::npos) in findActiveGPU()
/third_party/mesa3d/src/panfrost/bifrost/
Dcmdline.c280 } gpus[] = { in main() local
313 for (unsigned i = 0; i < ARRAY_SIZE(gpus); ++i) { in main()
314 if (strcmp(gpus[i].name, optarg)) continue; in main()
316 unsigned major = gpus[i].major; in main()
317 unsigned minor = gpus[i].minor; in main()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
Dangle_test_instantiate.cpp132 if (systemInfo->gpus.empty()) in GetActiveGPUDeviceInfo()
136 return &systemInfo->gpus[systemInfo->activeGPUIndex]; in GetActiveGPUDeviceInfo()
410 systemInfo.gpus.empty() ? 0 : systemInfo.gpus[systemInfo.activeGPUIndex].vendorId; in IsConfigAllowlisted()
/third_party/skia/third_party/externals/imgui/examples/example_glfw_vulkan/
Dmain.cpp121 VkPhysicalDevice* gpus = (VkPhysicalDevice*)malloc(sizeof(VkPhysicalDevice) * gpu_count); in SetupVulkan() local
122 err = vkEnumeratePhysicalDevices(g_Instance, &gpu_count, gpus); in SetupVulkan()
132 vkGetPhysicalDeviceProperties(gpus[i], &properties); in SetupVulkan()
140 g_PhysicalDevice = gpus[use_gpu]; in SetupVulkan()
141 free(gpus); in SetupVulkan()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_vulkan/
Dmain.cpp113 VkPhysicalDevice* gpus = (VkPhysicalDevice*)malloc(sizeof(VkPhysicalDevice) * gpu_count); in SetupVulkan() local
114 err = vkEnumeratePhysicalDevices(g_Instance, &gpu_count, gpus); in SetupVulkan()
124 vkGetPhysicalDeviceProperties(gpus[i], &properties); in SetupVulkan()
132 g_PhysicalDevice = gpus[use_gpu]; in SetupVulkan()
133 free(gpus); in SetupVulkan()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp137 res = vkEnumerateDeviceExtensionProperties(info.gpus[0], layer_name, in init_device_extension_properties()
149 res = vkEnumerateDeviceExtensionProperties(info.gpus[0], layer_name, in init_device_extension_properties()
269 info.gpus.resize(gpu_count); in init_enumerate_device()
271 res = vkEnumeratePhysicalDevices(info.inst, &gpu_count, info.gpus.data()); in init_enumerate_device()
274 vkGetPhysicalDeviceQueueFamilyProperties(info.gpus[0], &info.queue_family_count, NULL); in init_enumerate_device()
278 vkGetPhysicalDeviceQueueFamilyProperties(info.gpus[0], &info.queue_family_count, in init_enumerate_device()
283 vkGetPhysicalDeviceMemoryProperties(info.gpus[0], &info.memory_properties); in init_enumerate_device()
284 vkGetPhysicalDeviceProperties(info.gpus[0], &info.gpu_props); in init_enumerate_device()
619 vkGetPhysicalDeviceSurfaceSupportKHR(info.gpus[0], i, info.surface, &pSupportsPresent[i]); in init_swapchain_extension()
666 res = vkGetPhysicalDeviceSurfaceFormatsKHR(info.gpus[0], info.surface, &formatCount, NULL); in init_swapchain_extension()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/
DGPUTestConfig.cpp312 if (systemInfo->gpus.size() <= 0) in GetActiveGPU()
317 ASSERT(index < systemInfo->gpus.size()); in GetActiveGPU()
318 *devInfo = &(systemInfo->gpus[index]); in GetActiveGPU()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDrawBaseVertexBaseInstanceTest.cpp563 if (!systemInfo->gpus.empty()) in TEST_P()
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()
/third_party/mesa3d/src/freedreno/common/
Dfreedreno_devices.py38 self.gpus = {}
52 s.gpus[id] = info
/third_party/skia/third_party/externals/angle2/src/tests/util_tests/
DPrintSystemInfoTest.cpp35 ASSERT_GT(info.gpus.size(), 0u); in TEST()
/third_party/mesa3d/docs/relnotes/
D17.1.7.rst75 - radv: fix MSAA on SI gpus.
D20.3.1.rst61 - radeonsi: fix regression on gpus using the radeon winsys.
D20.2.5.rst76 - radeonsi: fix regression on gpus using the radeon winsys.
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Drenderergl_utils.cpp1823 if (isGetSystemInfoSuccess && !outSystemInfo->gpus.empty()) in GetSystemInfoVendorIDAndDeviceID()
1829 *outVendor = outSystemInfo->gpus[outSystemInfo->activeGPUIndex].vendorId; in GetSystemInfoVendorIDAndDeviceID()
1830 *outDevice = outSystemInfo->gpus[outSystemInfo->activeGPUIndex].deviceId; in GetSystemInfoVendorIDAndDeviceID()
1834 for (const angle::GPUDeviceInfo &gpu : outSystemInfo->gpus) in GetSystemInfoVendorIDAndDeviceID()
1856 for (const angle::GPUDeviceInfo &deviceInfo : systemInfo.gpus) in Has9thGenIntelGPU()

12