Home
last modified time | relevance | path

Searched refs:group_props (Results 1 – 6 of 6) sorted by relevance

/third_party/vulkan-loader/loader/
Dloader_linux.c358 … for (uint32_t gpu = 0; gpu < sorted_group_term[group].group_props.physicalDeviceCount; ++gpu) { in linux_sort_physical_device_groups()
362 sorted_group_term[group].group_props.physicalDevices[gpu]; in linux_sort_physical_device_groups()
423 linux_env_var_default_device(inst, sorted_group_term[group].group_props.physicalDeviceCount, in linux_sort_physical_device_groups()
427 …qsort(sorted_group_term[group].internal_device_info, sorted_group_term[group].group_props.physical… in linux_sort_physical_device_groups()
431 … for (uint32_t dev = 0; dev < sorted_group_term[group].group_props.physicalDeviceCount; ++dev) { in linux_sort_physical_device_groups()
432 sorted_group_term[group].group_props.physicalDevices[dev] = in linux_sort_physical_device_groups()
444 … for (uint32_t gpu = 0; gpu < sorted_group_term[group].group_props.physicalDeviceCount; ++gpu) { in linux_sort_physical_device_groups()
Dloader_windows.c925 …devices_in_group(struct loader_instance *inst, struct VkPhysicalDeviceGroupProperties *group_props, in windows_sort_devices_in_group() argument
929 for (uint32_t grp_dev = cur_index; grp_dev < group_props->physicalDeviceCount; ++grp_dev) { in windows_sort_devices_in_group()
930 if (icd_sorted_list->physical_devices[dev] == group_props->physicalDevices[grp_dev]) { in windows_sort_devices_in_group()
932 VkPhysicalDevice swap_dev = group_props->physicalDevices[cur_index]; in windows_sort_devices_in_group()
933 group_props->physicalDevices[cur_index] = group_props->physicalDevices[grp_dev]; in windows_sort_devices_in_group()
934 group_props->physicalDevices[grp_dev] = swap_dev; in windows_sort_devices_in_group()
966 …for (uint32_t grp_dev = 0; grp_dev < sorted_group_term[group].group_props.physicalDeviceCount; ++g… in windows_sort_physical_device_groups()
967 if (sorted_group_term[group].group_props.physicalDevices[grp_dev] == in windows_sort_physical_device_groups()
970 …windows_sort_devices_in_group(inst, &sorted_group_term[group].group_props, &sorted_phys_dev_array[… in windows_sort_physical_device_groups()
Dloader_common.h419 VkPhysicalDeviceGroupProperties group_props; member
Dloader.c6660 local_phys_dev_groups[cur_index].group_props.physicalDeviceCount = 1; in terminator_EnumeratePhysicalDeviceGroups()
6661 … local_phys_dev_groups[cur_index].group_props.physicalDevices[0] = phys_dev_array[indiv_gpu]; in terminator_EnumeratePhysicalDeviceGroups()
6688 … local_phys_dev_groups[cur_index].group_props = pPhysicalDeviceGroupProperties[cur_index]; in terminator_EnumeratePhysicalDeviceGroups()
6719 local_phys_dev_groups[cur_index].group_props = tmp_group_props[group]; in terminator_EnumeratePhysicalDeviceGroups()
6755 …for (uint32_t group_gpu = 0; group_gpu < local_phys_dev_groups[group].group_props.physicalDeviceCo… in terminator_EnumeratePhysicalDeviceGroups()
6759 if (local_phys_dev_groups[group].group_props.physicalDevices[group_gpu] == in terminator_EnumeratePhysicalDeviceGroups()
6761 local_phys_dev_groups[group].group_props.physicalDevices[group_gpu] = in terminator_EnumeratePhysicalDeviceGroups()
6784 if (local_phys_dev_groups[group].group_props.physicalDeviceCount == 0) { in terminator_EnumeratePhysicalDeviceGroups()
6789 … VkPhysicalDeviceGroupProperties *group_properties = &local_phys_dev_groups[group].group_props; in terminator_EnumeratePhysicalDeviceGroups()
/third_party/vulkan-loader/tests/
Dloader_regression_tests.cpp1372 std::vector<VkPhysicalDeviceGroupProperties> group_props{}; in TEST() local
1373group_props.resize(group_count, VkPhysicalDeviceGroupProperties{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_… in TEST()
1374 …K_SUCCESS, inst->vkEnumeratePhysicalDeviceGroups(inst, &returned_group_count, group_props.data())); in TEST()
1380 for (uint32_t g_dev = 0; g_dev < group_props[group].physicalDeviceCount; ++g_dev) { in TEST()
1382 if (physical_devices[dev] == group_props[group].physicalDevices[g_dev]) { in TEST()
1393 for (auto& group : group_props) { in TEST()
1440 std::vector<VkPhysicalDeviceGroupPropertiesKHR> group_props{}; in TEST() local
1441group_props.resize(group_count, VkPhysicalDeviceGroupPropertiesKHR{VK_STRUCTURE_TYPE_PHYSICAL_DEVI… in TEST()
1442 …Q(VK_SUCCESS, vkEnumeratePhysicalDeviceGroupsKHR(inst, &returned_group_count, group_props.data())); in TEST()
1448 for (uint32_t g_dev = 0; g_dev < group_props[group].physicalDeviceCount; ++g_dev) { in TEST()
[all …]
Dloader_version_tests.cpp449 std::vector<VkPhysicalDeviceGroupProperties> group_props{}; in TEST() local
450group_props.resize(group_count, VkPhysicalDeviceGroupProperties{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_… in TEST()
451 …K_SUCCESS, inst->vkEnumeratePhysicalDeviceGroups(inst, &returned_group_count, group_props.data())); in TEST()