Home
last modified time | relevance | path

Searched refs:queueFamilyProperties (Results 1 – 25 of 47) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.cpp49 …32 findMatchingQueueFamilyIndex (const std::vector<VkQueueFamilyProperties>& queueFamilyProperties, in findMatchingQueueFamilyIndex() argument
53 for (deUint32 queueNdx = startIndex; queueNdx < queueFamilyProperties.size(); ++queueNdx) in findMatchingQueueFamilyIndex()
55 if ((queueFamilyProperties[queueNdx].queueFlags & queueFlags) == queueFlags) in findMatchingQueueFamilyIndex()
113 std::vector<VkQueueFamilyProperties> queueFamilyProperties; in createDeviceSupportingQueues() local
114 queueFamilyProperties.resize(queueFamilyPropertiesCount); in createDeviceSupportingQueues()
116 …eviceQueueFamilyProperties(physicalDevice, &queueFamilyPropertiesCount, &queueFamilyProperties[0]); in createDeviceSupportingQueues()
133 …queueFamilyIndex = findMatchingQueueFamilyIndex(queueFamilyProperties, queueRequirement.queueFlags… in createDeviceSupportingQueues()
138 …const deUint32 queuesPerFamilyCount = deMin32(queueFamilyProperties[queueFamilyIndex].queueCount, … in createDeviceSupportingQueues()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSignalOrderTests.cpp101 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPro… in createTestDevice() local
102 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
136 for (const VkQueueFamilyProperties& qfp : queueFamilyProperties) in createTestDevice()
142 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
151 queueFamilyProperties[ndx].queueCount, in createTestDevice()
1295 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPro… in QueueSubmitSignalOrderTestInstance() local
1303 for (deUint32 familyIdx = 0; familyIdx < queueFamilyProperties.size(); familyIdx++) { in QueueSubmitSignalOrderTestInstance()
1304 if (((queueFamilyProperties[familyIdx].queueFlags & writeOpQueueFlags) == writeOpQueueFlags) || in QueueSubmitSignalOrderTestInstance()
1306 …(((queueFamilyProperties[familyIdx].queueFlags & VK_QUEUE_GRAPHICS_BIT) == VK_QUEUE_GRAPHICS_BIT) … in QueueSubmitSignalOrderTestInstance()
1307 …((queueFamilyProperties[familyIdx].queueFlags & VK_QUEUE_COMPUTE_BIT) == VK_QUEUE_COMPUTE_BIT)))) { in QueueSubmitSignalOrderTestInstance()
[all …]
DvktSynchronizationTimelineSemaphoreTests.cpp1262 …eueCreateInfo> getQueueCreateInfo(const std::vector<VkQueueFamilyProperties> queueFamilyProperties) in getQueueCreateInfo() argument
1266 for (deUint32 i = 0; i < queueFamilyProperties.size(); i++) { in getQueueCreateInfo()
1273 queueFamilyProperties[i].queueCount, in getQueueCreateInfo()
1284 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyP… in createTestDevice() local
1285 …::vector<VkDeviceQueueCreateInfo> queueCreateInfos = getQueueCreateInfo(queueFamilyProperties); in createTestDevice()
1396 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPr… in WaitBeforeSignalTestInstance() local
1412 for (deUint32 familyIdx = 0; familyIdx < queueFamilyProperties.size(); familyIdx++) { in WaitBeforeSignalTestInstance()
1413 …for (deUint32 instanceIdx = 0; instanceIdx < queueFamilyProperties[familyIdx].queueCount; instance… in WaitBeforeSignalTestInstance()
1427 if ((copyOpQueueFlags & queueFamilyProperties[familyIdx].queueFlags) != copyOpQueueFlags) in WaitBeforeSignalTestInstance()
1813 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPr… in OneToNTestInstance() local
[all …]
DvktSynchronizationBasicSemaphoreTests.cpp337 std::vector<VkQueueFamilyProperties> queueFamilyProperties; in basicMultiQueueCase() local
361 queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instance, physicalDevice); in basicMultiQueueCase()
363 for (deUint32 queueNdx = 0; queueNdx < queueFamilyProperties.size(); ++queueNdx) in basicMultiQueueCase()
368 if (queues[FIRST].queueFamilyIndex != queueNdx || queueFamilyProperties[queueNdx].queueCount > 1u) in basicMultiQueueCase()
DvktSynchronizationInternallySynchronizedObjectsTests.cpp203 vector<VkQueueFamilyProperties> queueFamilyProperties; in createQueues() local
207 queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instance, physicalDevice); in createQueues()
209 …for (deUint32 queuePropertiesNdx = 0; queuePropertiesNdx < queueFamilyProperties.size(); ++queuePr… in createQueues()
211 if (checkQueueFlags(queueFamilyProperties[queuePropertiesNdx].queueFlags, queueFlag)) in createQueues()
213 …queues.addQueueFamilyIndex(queuePropertiesNdx, queueFamilyProperties[queuePropertiesNdx].queueCoun… in createQueues()
DvktSynchronizationOperationMultiQueueTests.cpp117 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPro… in MultiQueues() local
119 …for (deUint32 queuePropertiesNdx = 0; queuePropertiesNdx < queueFamilyProperties.size(); ++queuePr… in MultiQueues()
122 std::min(2u, queueFamilyProperties[queuePropertiesNdx].queueCount), in MultiQueues()
123 queueFamilyProperties[queuePropertiesNdx].queueFlags); in MultiQueues()
DvktSynchronizationCrossInstanceSharingTests.cpp335 …const std::vector<vk::VkQueueFamilyProperties> queueFamilyProperties = vk::getPhysicalDeviceQueue… in createTestDevice() local
336 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
383 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
DvktSynchronizationWin32KeyedMutexTests.cpp167 …const std::vector<vk::VkQueueFamilyProperties> queueFamilyProperties = vk::getPhysicalDeviceQueueF… in createTestDevice() local
168 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
185 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawConcurrentTests.cpp113 std::vector<VkQueueFamilyProperties> queueFamilyProperties; in iterate() local
122 queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instance, physicalDevice); in iterate()
124 for (deUint32 queueNdx = 0; queueNdx < queueFamilyProperties.size(); ++queueNdx) in iterate()
126 if (queueFamilyProperties[queueNdx].queueFlags & VK_QUEUE_COMPUTE_BIT) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp622 …const vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperti… in createDeviceTest() local
666 …const vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPrope… in createMultipleDevicesTest() local
806 deUint32 getGlobalMaxQueueCount(const vector<VkQueueFamilyProperties>& queueFamilyProperties) in getGlobalMaxQueueCount() argument
810 …for (deUint32 queueFamilyNdx = 0; queueFamilyNdx < (deUint32)queueFamilyProperties.size(); queueFa… in getGlobalMaxQueueCount()
812 maxQueueCount = de::max(maxQueueCount, queueFamilyProperties[queueFamilyNdx].queueCount); in getGlobalMaxQueueCount()
826 …const vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperti… in createDeviceWithVariousQueueCountsTest() local
827 const vector<float> queuePriorities (getGlobalMaxQueueCount(queueFamilyProperties), 1.0f); in createDeviceWithVariousQueueCountsTest()
830 …for (deUint32 queueFamilyNdx = 0; queueFamilyNdx < (deUint32)queueFamilyProperties.size(); queueFa… in createDeviceWithVariousQueueCountsTest()
832 const deUint32 maxQueueCount = queueFamilyProperties[queueFamilyNdx].queueCount; in createDeviceWithVariousQueueCountsTest()
1004 …const vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperti… in createDeviceFeatures2Test() local
[all …]
DvktApiBufferMarkerTests.cpp114 …const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPro… in createDeviceWithExtension() local
119 for (deUint32 familyIdx = 0; familyIdx < queueFamilyProperties.size(); ++familyIdx) in createDeviceWithExtension()
121 if (queueFamilyMatchesTestCase(queueFamilyProperties[familyIdx], testQueue) && in createDeviceWithExtension()
122 queueFamilyProperties[familyIdx].queueCount > 0) in createDeviceWithExtension()
165 wd.queueProps = queueFamilyProperties[queueCreateInfo.queueFamilyIndex]; in createDeviceWithExtension()
/external/llvm-project/mlir/tools/mlir-vulkan-runner/
DVulkanRuntime.h211 VkQueueFamilyProperties queueFamilyProperties{};
DVulkanRuntime.cpp354 queueFamilyProperties = familyProperties[i]; in getBestComputeQueue()
364 queueFamilyProperties = familyProperties[i]; in getBestComputeQueue()
765 if (queueFamilyProperties.timestampValidBits == 0) in createQueryPool()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_caps_utils.cpp306 const VkQueueFamilyProperties &queueFamilyProperties = in ensureCapsInitialized() local
422 mNativeExtensions.disjointTimerQuery = queueFamilyProperties.timestampValidBits > 0; in ensureCapsInitialized()
423 mNativeExtensions.queryCounterBitsTimeElapsed = queueFamilyProperties.timestampValidBits; in ensureCapsInitialized()
424 mNativeExtensions.queryCounterBitsTimestamp = queueFamilyProperties.timestampValidBits; in ensureCapsInitialized()
DCommandProcessor.cpp1328 void QueueFamily::initialize(const VkQueueFamilyProperties &queueFamilyProperties, uint32_t index) in initialize() argument
1330 mProperties = queueFamilyProperties; in initialize()
1334 uint32_t QueueFamily::FindIndex(const std::vector<VkQueueFamilyProperties> &queueFamilyProperties, in FindIndex() argument
1342 for (uint32_t familyIndex = 0; familyIndex < queueFamilyProperties.size(); ++familyIndex) in FindIndex()
1344 const auto &queueInfo = queueFamilyProperties[familyIndex]; in FindIndex()
DCommandProcessor.h194 static uint32_t FindIndex(const std::vector<VkQueueFamilyProperties> &queueFamilyProperties,
204 void initialize(const VkQueueFamilyProperties &queueFamilyProperties, uint32_t index);
/external/angle/src/tests/test_utils/
DVulkanExternalHelper.cpp282 std::vector<VkQueueFamilyProperties> queueFamilyProperties = in initialize() local
285 for (uint32_t i = 0; i < queueFamilyProperties.size(); ++i) in initialize()
287 if (queueFamilyProperties[i].queueFlags & VK_QUEUE_GRAPHICS_BIT) in initialize()
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_funcs.hpp276 std::vector<QueueFamilyProperties, QueueFamilyPropertiesAllocator> queueFamilyProperties; in getQueueFamilyProperties() local
279 queueFamilyProperties.resize( queueFamilyPropertyCount ); in getQueueFamilyProperties()
283 reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties()
284 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties()
285 return queueFamilyProperties; in getQueueFamilyProperties()
296 std::vector<QueueFamilyProperties, QueueFamilyPropertiesAllocator> queueFamilyProperties( in getQueueFamilyProperties() local
300 queueFamilyProperties.resize( queueFamilyPropertyCount ); in getQueueFamilyProperties()
304 reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties()
305 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties()
306 return queueFamilyProperties; in getQueueFamilyProperties()
[all …]
Dvulkan_raii.hpp9113 …std::vector<VULKAN_HPP_NAMESPACE::QueueFamilyProperties> queueFamilyProperties( queueFamilyPropert… in getQueueFamilyProperties() local
9117 reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties()
9118 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties()
9119 return queueFamilyProperties; in getQueueFamilyProperties()
10525 …std::vector<VULKAN_HPP_NAMESPACE::QueueFamilyProperties2> queueFamilyProperties( queueFamilyProper… in getQueueFamilyProperties2() local
10529 reinterpret_cast<VkQueueFamilyProperties2 *>( queueFamilyProperties.data() ) ); in getQueueFamilyProperties2()
10530 VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); in getQueueFamilyProperties2()
10531 return queueFamilyProperties; in getQueueFamilyProperties2()
10541 …std::vector<VULKAN_HPP_NAMESPACE::QueueFamilyProperties2> queueFamilyProperties( queueFamilyProper… in getQueueFamilyProperties2() local
10544 queueFamilyProperties[i].pNext = in getQueueFamilyProperties2()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp471 std::vector<VkQueueFamilyProperties> queueFamilyProperties(numTotalFamilyIndices); in getSupportedQueueFamilyIndices() local
472 …icalDeviceQueueFamilyProperties(physicalDevice, &numTotalFamilyIndices, &queueFamilyProperties[0]); in getSupportedQueueFamilyIndices()
/external/mesa3d/src/freedreno/vulkan/
Dtu_legacy.c51 props[i] = props2[i].queueFamilyProperties; in tu_GetPhysicalDeviceQueueFamilyProperties()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingCaptureReplayTests.cpp940 …std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyPropertie… in runTest() local
941 for (deUint32 queueNdx = 0; queueNdx < queueFamilyProperties.size(); ++queueNdx) in runTest()
943 if (queueFamilyProperties[queueNdx].queueFlags & ( VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT )) in runTest()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp3043 std::vector<VkQueueFamilyProperties> queueFamilyProperties; in iterate() local
3054 queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instance, physicalDevice); in iterate()
3056 for (deUint32 queueNdx = 0; queueNdx < queueFamilyProperties.size(); ++queueNdx) in iterate()
3058 if (queueFamilyProperties[queueNdx].queueFlags & VK_QUEUE_COMPUTE_BIT) in iterate()
3063 if (queues[0].queueFamilyIndex != queueNdx || queueFamilyProperties[queueNdx].queueCount > 1u) in iterate()
/external/swiftshader/src/Vulkan/
DVkPhysicalDevice.cpp1543 pQueueFamilyProperties[i].queueFamilyProperties = getQueueFamilyProperties(); in getQueueFamilyProperties()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp627 …const vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperti… in createMultiViewDevices() local
629 for (; m_queueFamilyIndex < queueFamilyProperties.size(); ++m_queueFamilyIndex) in createMultiViewDevices()
631 if ((queueFamilyProperties[m_queueFamilyIndex].queueFlags & VK_QUEUE_GRAPHICS_BIT) != 0) in createMultiViewDevices()

12