Searched refs:num_gpus (Results 1 – 1 of 1) sorted by relevance
285 uint32_t num_gpus; in GatherInfo() local286 result = vkEnumeratePhysicalDevices(instance, &num_gpus, nullptr); in GatherInfo()289 std::vector<VkPhysicalDevice> gpus(num_gpus, VK_NULL_HANDLE); in GatherInfo()291 gpus.resize(num_gpus, VK_NULL_HANDLE); in GatherInfo()292 result = vkEnumeratePhysicalDevices(instance, &num_gpus, gpus.data()); in GatherInfo()297 info->gpus.resize(num_gpus); in GatherInfo()