aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDominic Symes <dominic.symes@arm.com>2023-04-24 17:08:02 +0100
committerDominic Symes <dominic.symes@arm.com>2023-04-27 14:52:30 +0100
commitbc72ba8ec128dc8c851455300085961d6e716959 (patch)
tree1c269fc0ea90243b2028e5ef7da58c417020c429 /tools
parent211c5f5294cd08ebbf61278823e5195fef181dd7 (diff)
downloadspecification-bc72ba8ec128dc8c851455300085961d6e716959.tar.gz
Move the tensor size limit into the level range definition
The tensor size in bytes must fit within the level defined size range. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I131e3aa7e8666b4d0093ae8198367f243081da51
Diffstat (limited to 'tools')
-rw-r--r--tools/tosa.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/tosa.py b/tools/tosa.py
index 265d5f6..52fda3e 100644
--- a/tools/tosa.py
+++ b/tools/tosa.py
@@ -86,6 +86,7 @@ class TOSASpec:
'MAX_KERNEL': level.get("max_kernel"),
'MAX_STRIDE': level.get("max_stride"),
'MAX_SCALE': level.get("max_scale"),
+ 'MAX_LOG2_SIZE' : level.get("max_log2_size"),
}
return TOSALevel(name, desc, maximums)