Searched refs:alloc_info (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/contrib/lite/ |
D | arena_planner.cc | 157 for (const auto& alloc_info : alloc_queue_) { in CalculateAllocations() local 158 if (alloc_info.node < first_node) continue; in CalculateAllocations() 159 if (alloc_info.node > last_node) break; in CalculateAllocations() 160 if (alloc_info.node == active_node) { in CalculateAllocations() 171 if (alloc_info.type == AllocationInfo::ALLOC) { in CalculateAllocations() 172 TF_LITE_ENSURE_STATUS(CalculateTensorAllocation(alloc_info.tensor)); in CalculateAllocations() 174 TF_LITE_ENSURE_STATUS(CalculateTensorDeallocation(alloc_info.tensor)); in CalculateAllocations()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 945 …VkDescriptorSetAllocateInfo alloc_info = {VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO, nullptr,… local 947 err = vkAllocateDescriptorSets(device_->handle(), &alloc_info, &set_); 1377 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local 1379 vkAllocateMemory(device(), &alloc_info, NULL, &memory); in TEST_F() 1988 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local 1989 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F() 1990 alloc_info.pNext = NULL; in TEST_F() 1991 alloc_info.memoryTypeIndex = 0; in TEST_F() 1993 alloc_info.allocationSize = buff_mem_reqs.size + img_mem_reqs.size; in TEST_F() 1994 …ice->phy().set_memory_type(buff_mem_reqs.memoryTypeBits & img_mem_reqs.memoryTypeBits, &alloc_info, in TEST_F() [all …]
|
D | vktestbinding.cpp | 444 VkMemoryAllocateInfo info = alloc_info(reqs.size, mem_type_index); in get_resource_alloc_info() 682 VkDescriptorSetAllocateInfo alloc_info = {}; in alloc_sets() local 683 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in alloc_sets() 684 alloc_info.descriptorSetCount = layout_handles.size(); in alloc_sets() 685 alloc_info.descriptorPool = handle(); in alloc_sets() 686 alloc_info.pSetLayouts = layout_handles.data(); in alloc_sets() 687 VkResult err = vkAllocateDescriptorSets(device(), &alloc_info, set_handles.data()); in alloc_sets()
|
D | vktestbinding.h | 313 static VkMemoryAllocateInfo alloc_info(VkDeviceSize size, uint32_t memory_type_index); 730 inline VkMemoryAllocateInfo DeviceMemory::alloc_info(VkDeviceSize size, uint32_t memory_type_index)… in alloc_info() function
|
/external/vulkan-validation-layers/layers/ |
D | core_validation_types.h | 320 VkMemoryAllocateInfo alloc_info; 338 alloc_info(*p_alloc_info),
|
D | core_validation.cpp | 3063 if (offset >= mem_info->alloc_info.allocationSize) { in ValidateMapMemRange() 3068 … offset, mem_info->alloc_info.allocationSize, mem_info->alloc_info.allocationSize); in ValidateMapMemRange() 3071 if ((offset + size) > mem_info->alloc_info.allocationSize) { in ValidateMapMemRange() 3075 offset, size + offset, mem_info->alloc_info.allocationSize, in ValidateMapMemRange() 3120 uint32_t index = mem_info->alloc_info.memoryTypeIndex; in initializeAndTrackMemory() 3125 size = mem_info->alloc_info.allocationSize - offset; in initializeAndTrackMemory() 3645 if (memoryOffset >= mem_info->alloc_info.allocationSize) { in ValidateInsertMemoryRange() 3652 mem_info->alloc_info.allocationSize, validation_error_map[error_code]); in ValidateInsertMemoryRange() 3794 if (((1 << mem_info->alloc_info.memoryTypeIndex) & memory_type_bits) == 0) { in ValidateMemoryTypes() 3799 … funcName, memory_type_bits, mem_info->alloc_info.memoryTypeIndex, HandleToUint64(mem_info->mem), in ValidateMemoryTypes() [all …]
|
/external/vulkan-validation-layers/demos/ |
D | cube.cpp | 1807 auto const alloc_info = in prepare_descriptor_set() local 1831 …auto result = device.allocateDescriptorSets(&alloc_info, &swapchain_image_resources[i].descriptor_… in prepare_descriptor_set()
|
D | cube.c | 2111 VkDescriptorSetAllocateInfo alloc_info = { in demo_prepare_descriptor_set() local 2143 …err = vkAllocateDescriptorSets(demo->device, &alloc_info, &demo->swapchain_image_resources[i].desc… in demo_prepare_descriptor_set()
|