diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:08:56 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:08:56 -0500 |
| commit | e2ecb50cf149afb035c2d5fd2f3f2da509e8c2f9 (patch) | |
| tree | f0642f5dc0223ad48771460d903237dfe82acb42 /runtime/test/vk_harness.cpp | |
| parent | f02cf94d516591b05fe4553cd10e9136599e1a48 (diff) | |
| parent | aec744e39d54e5e33701198334df5dbf7e4d754a (diff) | |
Merge pull request #3855 from Oleg Makarov
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_harness.cpp')
| -rw-r--r-- | runtime/test/vk_harness.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/test/vk_harness.cpp b/runtime/test/vk_harness.cpp index 7bd679f10..c9968a1c2 100644 --- a/runtime/test/vk_harness.cpp +++ b/runtime/test/vk_harness.cpp | |||
| @@ -267,10 +267,13 @@ int main(int argc, char** argv) { | |||
| 267 | } | 267 | } |
| 268 | VkPhysicalDeviceProperties props; vkGetPhysicalDeviceProperties(pd, &props); | 268 | VkPhysicalDeviceProperties props; vkGetPhysicalDeviceProperties(pd, &props); |
| 269 | VkPhysicalDeviceSubgroupSizeControlProperties sgProps{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES}; | 269 | VkPhysicalDeviceSubgroupSizeControlProperties sgProps{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES}; |
| 270 | VkPhysicalDeviceDriverProperties driver{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES}; | ||
| 271 | if (props.apiVersion >= VK_API_VERSION_1_2) sgProps.pNext = &driver; | ||
| 270 | VkPhysicalDeviceProperties2 props2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2}; | 272 | VkPhysicalDeviceProperties2 props2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2}; |
| 271 | props2.pNext = &sgProps; | 273 | props2.pNext = &sgProps; |
| 272 | vkGetPhysicalDeviceProperties2(pd, &props2); | 274 | vkGetPhysicalDeviceProperties2(pd, &props2); |
| 273 | std::fprintf(stderr, "device: %s (subgroup %u..%u)\n", props.deviceName, sgProps.minSubgroupSize, sgProps.maxSubgroupSize); | 275 | std::fprintf(stderr, "device: %s (subgroup %u..%u)\n", props.deviceName, sgProps.minSubgroupSize, sgProps.maxSubgroupSize); |
| 276 | if (driver.driverName[0]) std::fprintf(stderr, "driver: %s\n", driver.driverName); | ||
| 274 | uint32_t qn = 0; | 277 | uint32_t qn = 0; |
| 275 | vkGetPhysicalDeviceQueueFamilyProperties(pd, &qn, nullptr); | 278 | vkGetPhysicalDeviceQueueFamilyProperties(pd, &qn, nullptr); |
| 276 | std::vector<VkQueueFamilyProperties> qf(qn); | 279 | std::vector<VkQueueFamilyProperties> qf(qn); |