Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/
Darena_planner.cc219 for (const auto& alloc_info : alloc_queue_) { in CalculateAllocations() local
220 if (alloc_info.node < first_node) continue; in CalculateAllocations()
221 if (alloc_info.node > last_node) break; in CalculateAllocations()
222 if (alloc_info.node == active_node) { in CalculateAllocations()
233 if (alloc_info.type == AllocationInfo::ALLOC) { in CalculateAllocations()
234 TF_LITE_ENSURE_STATUS(CalculateTensorAllocation(alloc_info.tensor)); in CalculateAllocations()
236 TF_LITE_ENSURE_STATUS(CalculateTensorDeallocation(alloc_info.tensor)); in CalculateAllocations()
/external/bcc/examples/lua/
Dmemleak.lua156 local alloc_info = {}
167 if alloc_info[stack_id] then
168 local s = alloc_info[stack_id]
173 alloc_info[stack_id] = { stack=stack, count=1, size=tonumber(info.size) }
183 local top = table.values(alloc_info)
/external/bcc/tools/
Dmemleak.py450 alloc_info = {}
458 if info.stack_id in alloc_info:
459 alloc_info[info.stack_id].update(info.size)
466 alloc_info[info.stack_id] = Allocation(combined,
471 to_show = sorted(alloc_info.values(),
/external/vulkan-validation-layers/tests/
Dvktestbinding.cpp464 VkMemoryAllocateInfo info = alloc_info(reqs.size, mem_type_index); in get_resource_alloc_info()
707 VkDescriptorSetAllocateInfo alloc_info = {}; in alloc_sets() local
708 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in alloc_sets()
709 alloc_info.descriptorSetCount = layout_handles.size(); in alloc_sets()
710 alloc_info.descriptorPool = handle(); in alloc_sets()
711 alloc_info.pSetLayouts = layout_handles.data(); in alloc_sets()
712 VkResult err = vkAllocateDescriptorSets(device(), &alloc_info, set_handles.data()); in alloc_sets()
Dlayer_validation_tests.cpp1022 …VkDescriptorSetAllocateInfo alloc_info = {VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO, nullptr,… local
1024 err = vkAllocateDescriptorSets(device_->handle(), &alloc_info, &set_);
1701 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
1703 vkAllocateMemory(device(), &alloc_info, NULL, &memory); in TEST_F()
2618 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
2619 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
2620 alloc_info.pNext = NULL; in TEST_F()
2621 alloc_info.memoryTypeIndex = 0; in TEST_F()
2623 alloc_info.allocationSize = buff_mem_reqs.size + img_mem_reqs.size; in TEST_F()
2624 …ice->phy().set_memory_type(buff_mem_reqs.memoryTypeBits & img_mem_reqs.memoryTypeBits, &alloc_info, in TEST_F()
[all …]
Dvktestbinding.h319 static VkMemoryAllocateInfo alloc_info(VkDeviceSize size, uint32_t memory_type_index);
738 inline VkMemoryAllocateInfo DeviceMemory::alloc_info(VkDeviceSize size, uint32_t memory_type_index)… in alloc_info() function
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp3350 …ecks::ValidateAllocateMemoryANDROID(layer_data *dev_data, const VkMemoryAllocateInfo *alloc_info) { in ValidateAllocateMemoryANDROID() argument
3352 …auto import_ahb_info = lvl_find_in_chain<VkImportAndroidHardwareBufferInfoANDROID>(alloc_info->pNe… in ValidateAllocateMemoryANDROID()
3353 auto exp_mem_alloc_info = lvl_find_in_chain<VkExportMemoryAllocateInfo>(alloc_info->pNext); in ValidateAllocateMemoryANDROID()
3354 auto mem_ded_alloc_info = lvl_find_in_chain<VkMemoryDedicatedAllocateInfo>(alloc_info->pNext); in ValidateAllocateMemoryANDROID()
3450 if (alloc_info->allocationSize != ahb_props.allocationSize) { in ValidateAllocateMemoryANDROID()
3456 alloc_info->allocationSize, ahb_props.allocationSize); in ValidateAllocateMemoryANDROID()
3461 uint32_t mem_type_bitmask = 1 << alloc_info->memoryTypeIndex; in ValidateAllocateMemoryANDROID()
3469 alloc_info->memoryTypeIndex, ahb_props.memoryTypeBits); in ValidateAllocateMemoryANDROID()
3583 if (0 != alloc_info->allocationSize) { in ValidateAllocateMemoryANDROID()
3590 if (0 == alloc_info->allocationSize) { in ValidateAllocateMemoryANDROID()
[all …]
Dcore_validation_types.h376 VkMemoryAllocateInfo alloc_info;
398 alloc_info(*p_alloc_info),
Dgpu_validation.cpp267 …VkDescriptorSetAllocateInfo alloc_info = {VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO, NULL, po… in GetDescriptorSets() local
270 …_->GetDispatchTable()->AllocateDescriptorSets(dev_data_->GetDevice(), &alloc_info, desc_sets->data… in GetDescriptorSets()
Dcore_validation.h967 … bool ValidateAllocateMemoryANDROID(layer_data* dev_data, const VkMemoryAllocateInfo* alloc_info);