From e4d6a1b99337f33cfaf343005e355ef7a68b2be9 Mon Sep 17 00:00:00 2001
From: Dominic Symes <dominic.symes@arm.com>
Date: Fri, 4 Nov 2022 18:00:03 +0000
Subject: Add Levels defintion

Add definition of Level 1.0.

Signed-off-by: Dominic Symes <dominic.symes@arm.com>
Change-Id: I1b34ae22396f273cc5ecdf99198fdbece6e2809c
---
 chapters/pseudocode.adoc | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'chapters/pseudocode.adoc')

diff --git a/chapters/pseudocode.adoc b/chapters/pseudocode.adoc
index b931822..f4fd885 100644
--- a/chapters/pseudocode.adoc
+++ b/chapters/pseudocode.adoc
@@ -48,6 +48,12 @@ void ERROR_IF(condition) {
         tosa_graph_result = tosa_error;
     }
 }
+
+void LEVEL_CHECK(condition) {
+    // If a level is specified and the level condition fails then
+    // the result is unpredictable.
+    REQUIRE(condition);
+}
 ----
 
 === Tensor Access Helpers
-- 
cgit v1.2.1

