aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/Types.hpp')
-rw-r--r--include/armnn/Types.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp
index 19e93c3c7e..0b7b941008 100644
--- a/include/armnn/Types.hpp
+++ b/include/armnn/Types.hpp
@@ -213,6 +213,19 @@ enum class MemorySource : uint32_t
DmaBufProtected = 4
};
+enum class MemBlockStrategyType
+{
+ // MemBlocks can be packed on the Y axis only.
+ // In other words MemBlocks with overlapping lifetimes cannot use the same MemBin,
+ // equivalent to blob or pooling memory management.
+ SingleAxisPacking = 0,
+
+ // MemBlocks can be packed on the Y and X axis.
+ // In other words MemBlocks with overlapping lifetimes can use the same MemBin,
+ // equivalent to offset or slab memory management.
+ MultiAxisPacking = 1
+};
+
/// Each backend should implement an IBackend.
class IBackend
{