24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_DYNAMIC_FUSION_SKETCH_MEMORYDESCRIPTOR
25 #define ARM_COMPUTE_DYNAMIC_FUSION_SKETCH_MEMORYDESCRIPTOR
31 namespace experimental
33 namespace dynamic_fusion
Descriptor of a workload tensor memory.
@ Auxiliary
Additional memory required by the workload tensor, e.g.
AuxMemoryInfo(size_t size, size_t alignment=0) noexcept
@ Virtual
Virtual type is of No-Alloc type.
size_t size
Total memory size in bytes.
friend bool operator==(const AuxMemoryInfo &info0, const AuxMemoryInfo &info1)
size_t alignment
Memory alignment in bytes.
MemoryType
Type of memory used by a workload tensor.
Memory information for tensors with MemoryType::Auxiliary.
@ User
Both User and Auxiliary types are of Alloc type.
AuxMemoryInfo aux_memory_info
Auxiliary Tensor Memory Information.
MemoryType memory_type
Memory Type.
Copyright (c) 2017-2024 Arm Limited.
std::map< ITensorInfo::Id, MemoryDescriptor > MemoryDescriptorMap
A map from ITensorInfo to their corresponding MemoryDescriptor.