Home
last modified time | relevance | path

Searched refs:queueCount (Results 1 – 25 of 59) sorted by relevance

123

/external/OpenCL-CTS/test_conformance/multiple_device_context/
Dtest_multiple_devices.cpp38 int test_device_set(size_t deviceCount, size_t queueCount, cl_device_id *devices, int num_elements) in test_device_set() argument
62 if (queueCount > MAX_QUEUES) { in test_device_set()
63 …es (%ld) is greater than the number for which the test was written (%d).", queueCount, MAX_QUEUES); in test_device_set()
67 …with %ld queues on %ld devices, %ld kernel executions.\n", queueCount, deviceCount, queueCount*num… in test_device_set()
119 for( i = 0; i < queueCount; i++ ) in test_device_set()
124 queueCount = i; in test_device_set()
128 log_info("Testing with %d queues.\n", (int)queueCount); in test_device_set()
132 for( i = 0; i < queueCount; i++ ) in test_device_set()
153 for (int q = 0; q<(int)queueCount; q++) { in test_device_set()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.cpp44 QueueFamilyQueuesCount() : queueCount(0u) {}; in QueueFamilyQueuesCount()
46 deUint32 queueCount; member
138 …yCount = deMin32(queueFamilyProperties[queueFamilyIndex].queueCount, queueRequirement.queueCount -… in createDeviceSupportingQueues()
140 …eueFamilies[queueFamilyIndex].queueCount = deMax32(queuesPerFamilyCount, selectedQueueFamilies[que… in createDeviceSupportingQueues()
154 } while (queuesFoundCount < queueRequirement.queueCount); in createDeviceSupportingQueues()
161 for (deUint32 queueNdx = 0; queueNdx < queueFamilyIter->second.queueCount; ++queueNdx) in createDeviceSupportingQueues()
170 queueFamilyIter->second.queueCount, // uint32_t queueCount; in createDeviceSupportingQueues()
DvktSparseResourcesBase.hpp53 , queueCount(qCount) in QueueRequirements()
57 deUint32 queueCount; member
/external/swiftshader/src/Vulkan/
DVkDevice.cpp73 queueCount += queueCreateInfo.queueCount;
81 for(uint32_t j = 0; j < queueCreateInfo.queueCount; j++, queueID++)
87 …ns = reinterpret_cast<ExtensionName *>(static_cast<uint8_t *>(mem) + (sizeof(Queue) * queueCount));
118 for(uint32_t i = 0; i < queueCount; i++) in destroy()
128 uint32_t queueCount = 0; in ComputeRequiredAllocationSize() local
131 queueCount += pCreateInfo->pQueueCreateInfos[i].queueCount; in ComputeRequiredAllocationSize()
134 return (sizeof(Queue) * queueCount) + (pCreateInfo->enabledExtensionCount * sizeof(ExtensionName)); in ComputeRequiredAllocationSize()
221 for(uint32_t i = 0; i < queueCount; i++) in waitIdle()
DVkDevice.hpp113 uint32_t queueCount = 0; member in vk::Device
DVkPhysicalDevice.cpp918 pQueueFamilyProperties[i].queueCount = 1; in getQueueFamilyProperties()
932 pQueueFamilyProperties[i].queueFamilyProperties.queueCount = 1; in getQueueFamilyProperties()
/external/skia/tests/
DVkPriorityExtensionTest.cpp155 uint32_t queueCount; in DEF_GPUTEST() local
156 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, nullptr); in DEF_GPUTEST()
157 if (!queueCount) { in DEF_GPUTEST()
163 SkAutoMalloc queuePropsAlloc(queueCount * sizeof(VkQueueFamilyProperties)); in DEF_GPUTEST()
167 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, queueProps); in DEF_GPUTEST()
170 uint32_t graphicsQueueIndex = queueCount; in DEF_GPUTEST()
171 for (uint32_t i = 0; i < queueCount; i++) { in DEF_GPUTEST()
177 if (graphicsQueueIndex == queueCount) { in DEF_GPUTEST()
/external/skqp/tests/
DVkPriorityExtensionTest.cpp155 uint32_t queueCount; in DEF_GPUTEST() local
156 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, nullptr); in DEF_GPUTEST()
157 if (!queueCount) { in DEF_GPUTEST()
163 SkAutoMalloc queuePropsAlloc(queueCount * sizeof(VkQueueFamilyProperties)); in DEF_GPUTEST()
167 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, queueProps); in DEF_GPUTEST()
170 uint32_t graphicsQueueIndex = queueCount; in DEF_GPUTEST()
171 for (uint32_t i = 0; i < queueCount; i++) { in DEF_GPUTEST()
177 if (graphicsQueueIndex == queueCount) { in DEF_GPUTEST()
/external/skqp/tools/gpu/vk/
DVkTestUtils.cpp528 uint32_t queueCount; in CreateVkBackendContext() local
529 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, nullptr); in CreateVkBackendContext()
530 if (!queueCount) { in CreateVkBackendContext()
536 SkAutoMalloc queuePropsAlloc(queueCount * sizeof(VkQueueFamilyProperties)); in CreateVkBackendContext()
540 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, queueProps); in CreateVkBackendContext()
543 uint32_t graphicsQueueIndex = queueCount; in CreateVkBackendContext()
544 for (uint32_t i = 0; i < queueCount; i++) { in CreateVkBackendContext()
550 if (graphicsQueueIndex == queueCount) { in CreateVkBackendContext()
557 uint32_t presentQueueIndex = queueCount; in CreateVkBackendContext()
559 for (uint32_t i = 0; i < queueCount; i++) { in CreateVkBackendContext()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp565 const deUint32 queueCount = 1; in createDeviceTest() local
577 queueCount, //queueCount; in createDeviceTest()
615 const deUint32 queueCount = 1; in createMultipleDevicesTest() local
624 queueCount, //queueCount; in createMultipleDevicesTest()
759 maxQueueCount = de::max(maxQueueCount, queueFamilyProperties[queueFamilyNdx].queueCount); in getGlobalMaxQueueCount()
779 const deUint32 maxQueueCount = queueFamilyProperties[queueFamilyNdx].queueCount; in createDeviceWithVariousQueueCountsTest()
781 for (deUint32 queueCount = 1; queueCount <= maxQueueCount; queueCount += queueCountDiff) in createDeviceWithVariousQueueCountsTest() local
789 queueCount, in createDeviceWithVariousQueueCountsTest()
817 const deUint32 queueCount = deviceCreateInfo.pQueueCreateInfos->queueCount; in createDeviceWithVariousQueueCountsTest() local
819 for (deUint32 queueIndex = 0; queueIndex < queueCount; queueIndex++) in createDeviceWithVariousQueueCountsTest()
[all …]
DvktApiBufferMarkerTests.cpp119 queueFamilyProperties[familyIdx].queueCount > 0) in createDeviceWithExtension()
124 queueCreateInfo.queueCount = 1; in createDeviceWithExtension()
131 if (queueCreateInfo.queueCount == 0) in createDeviceWithExtension()
/external/OpenCL-CTS/test_conformance/device_partition/
Dtest_device_partition.cpp208 int test_device_set(size_t deviceCount, size_t queueCount, cl_device_id *devices, int num_elements,… in test_device_set() argument
233 if (queueCount > MAX_QUEUES) { in test_device_set()
234 …es (%ld) is greater than the number for which the test was written (%d).", queueCount, MAX_QUEUES); in test_device_set()
238 …with %ld queues on %ld devices, %ld kernel executions.\n", queueCount, deviceCount, queueCount*num… in test_device_set()
292 for( i = 0; i < queueCount; i++ ) in test_device_set()
297 queueCount = i; in test_device_set()
301 log_info("Testing with %d queues.\n", (int)queueCount); in test_device_set()
305 for( i = 0; i < queueCount; i++ ) in test_device_set()
326 for (int q = 0; q<(int)queueCount; q++) { in test_device_set()
/external/skia/tools/gpu/vk/
DVkTestUtils.cpp575 uint32_t queueCount; in CreateVkBackendContext() local
576 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, nullptr); in CreateVkBackendContext()
577 if (!queueCount) { in CreateVkBackendContext()
583 SkAutoMalloc queuePropsAlloc(queueCount * sizeof(VkQueueFamilyProperties)); in CreateVkBackendContext()
587 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, queueProps); in CreateVkBackendContext()
590 uint32_t graphicsQueueIndex = queueCount; in CreateVkBackendContext()
591 for (uint32_t i = 0; i < queueCount; i++) { in CreateVkBackendContext()
597 if (graphicsQueueIndex == queueCount) { in CreateVkBackendContext()
604 uint32_t presentQueueIndex = queueCount; in CreateVkBackendContext()
606 for (uint32_t i = 0; i < queueCount; i++) { in CreateVkBackendContext()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DRendererVk.cpp904 uint32_t queueCount = 0; in initialize() local
905 vkGetPhysicalDeviceQueueFamilyProperties(mPhysicalDevice, &queueCount, nullptr); in initialize()
907 ANGLE_VK_CHECK(displayVk, queueCount > 0, VK_ERROR_INITIALIZATION_FAILED); in initialize()
909 mQueueFamilyProperties.resize(queueCount); in initialize()
910 vkGetPhysicalDeviceQueueFamilyProperties(mPhysicalDevice, &queueCount, in initialize()
916 for (uint32_t familyIndex = 0; familyIndex < queueCount; ++familyIndex) in initialize()
921 ASSERT(queueInfo.queueCount > 0); in initialize()
1126 uint32_t queueCount = std::min(mQueueFamilyProperties[queueFamilyIndex].queueCount, in initializeDevice() local
1146 queueCreateInfo.queueCount = queueCount; in initializeDevice()
1330 if (queueCount > 1) in initializeDevice()
[all …]
/external/angle/third_party/VulkanMemoryAllocator/src/
DVulkanSample.cpp1424 if(queueFamilies[i].queueCount > 0) in InitializeApplication()
1457 uint32_t queueCount = 1; in InitializeApplication() local
1460 queueCreateInfo[0].queueCount = 1; in InitializeApplication()
1466 queueCreateInfo[queueCount].sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO; in InitializeApplication()
1467 queueCreateInfo[queueCount].queueFamilyIndex = g_PresentQueueFamilyIndex; in InitializeApplication()
1468 queueCreateInfo[queueCount].queueCount = 1; in InitializeApplication()
1469 queueCreateInfo[queueCount].pQueuePriorities = &queuePriority; in InitializeApplication()
1470 ++queueCount; in InitializeApplication()
1478 queueCreateInfo[queueCount].sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO; in InitializeApplication()
1479 queueCreateInfo[queueCount].queueFamilyIndex = g_SparseBindingQueueFamilyIndex; in InitializeApplication()
[all …]
/external/vulkan-validation-layers/tests/
Dvktestbinding.cpp227 if (queue_props[i].queueCount > 0) { in QueueCreateInfoArray()
232 qi.queueCount = queue_props[i].queueCount; in QueueCreateInfoArray()
233 queue_priorities_.emplace_back(qi.queueCount, 0.0f); in QueueCreateInfoArray()
260 if (qci[j].queueCount) { in init()
319 queue_storage.reserve(queue_props[i].queueCount); in init_queues()
320 for (uint32_t j = 0; j < queue_props[i].queueCount; j++) { in init_queues()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp97 const deUint32 queueCount = 2u; in createTestDevice() local
98 const float queuePriority[queueCount] = { 1.0f, 1.0f }; in createTestDevice()
105 …VK_QUEUE_GRAPHICS_BIT) == VK_QUEUE_GRAPHICS_BIT && (queueProps[queueNdx].queueCount >= queueCount)) in createTestDevice()
113 msg << "Cannot create device with " << queueCount << " graphics queues"; in createTestDevice()
126 queueInfo.queueCount = queueCount; in createTestDevice()
DvktSynchronizationInternallySynchronizedObjectsTests.cpp213 …eues.addQueueFamilyIndex(queuePropertiesNdx, queueFamilyProperties[queuePropertiesNdx].queueCount); in createQueues()
236 …const deUint32 queueCount = static_cast<deUint32>(queues.getQueues(queueFamilyIndexNdx).queues.s… in createQueues() local
244 queueInfo.queueCount = queueCount; in createQueues()
DvktSynchronizationBasicSemaphoreTests.cpp324 if (queues[FIRST].queueFamilyIndex != queueNdx || queueFamilyProperties[queueNdx].queueCount > 1u) in basicMultiQueueCase()
343 …queueInfo.queueCount = (queues[FIRST].queueFamilyIndex == queues[SECOND].queueFamilyIndex) ? 2 : … in basicMultiQueueCase()
DvktSynchronizationTimelineSemaphoreTests.cpp1098 queueFamilyProperties[i].queueCount, in getQueueCreateInfo()
1133 for (deUint32 i = 0; i < queueCreateInfo.queueCount; i++) in createDevice()
1222 …for (deUint32 instanceIdx = 0; instanceIdx < queueFamilyProperties[familyIdx].queueCount; instance… in WaitBeforeSignalTestInstance()
1624 …for (deUint32 instanceIdx = 0; instanceIdx < queueFamilyProperties[familyIdx].queueCount; instance… in OneToNTestInstance()
1651 …for (deUint32 instanceIdx = 0; instanceIdx < queueFamilyProperties[familyIdx].queueCount && !added… in OneToNTestInstance()
DvktSynchronizationSignalOrderTests.cpp130 queueFamilyProperties[ndx].queueCount, in createDevice()
1294 … for (deUint32 queueIdx = 0; queueIdx < queueFamilyProperties[familyIdx].queueCount; queueIdx++) { in QueueSubmitSignalOrderTestInstance()
/external/mesa3d/src/freedreno/vulkan/
Dtu_device.c870 .queueCount = 1,
1042 &device->vk.alloc, queue_create->queueCount * sizeof(struct tu_queue), in tu_CreateDevice()
1052 queue_create->queueCount * sizeof(struct tu_queue)); in tu_CreateDevice()
1054 device->queue_count[qfi] = queue_create->queueCount; in tu_CreateDevice()
1056 for (unsigned q = 0; q < queue_create->queueCount; q++) { in tu_CreateDevice()
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestCase.cpp240 queueInfo[0].queueCount = 1u; in createDefaultDevice()
249 queueInfo[1].queueCount = 1u; in createDefaultDevice()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawConcurrentTests.cpp141 queueInfo.queueCount = 1; in iterate()
/external/skqp/src/compute/hs/vk/bench/
Dmain.c568 .queueCount = 1, in main()

123