Home
last modified time | relevance | path

Searched refs:alloc_info (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/lite/
Darena_planner.cc157 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/
Dlayer_validation_tests.cpp945 …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 …]
Dvktestbinding.cpp444 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()
Dvktestbinding.h313 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/
Dcore_validation_types.h320 VkMemoryAllocateInfo alloc_info;
338 alloc_info(*p_alloc_info),
Dcore_validation.cpp3063 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/
Dcube.cpp1807 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()
Dcube.c2111 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()