From b7293aedaea197acf1e5f93a0b450e6989c498d8 Mon Sep 17 00:00:00 2001 From: Kevin Petit Date: Mon, 5 Dec 2022 12:07:40 +0000 Subject: SELECT: Replace use of cmp_t with bool_t cmp_t is only used in the definition of SELECT and always defined to bool_t. This removes a special case in generators. Signed-off-by: Kevin Petit Change-Id: I9e7992bbfdf5c7fafdd55df90feb4dcbcdee2972 --- chapters/ewise_ternary.adoc | 2 +- tosa.xml | 17 ++++++++--------- tosa.xsd | 2 -- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/chapters/ewise_ternary.adoc b/chapters/ewise_ternary.adoc index eb30a01..0b8097d 100644 --- a/chapters/ewise_ternary.adoc +++ b/chapters/ewise_ternary.adoc @@ -21,7 +21,7 @@ for_each(index in shape) { dim_t index1 = apply_broadcast(shape, shape1, index); dim_t index2 = apply_broadcast(shape, shape2, index); dim_t index3 = apply_broadcast(shape, shape3, index); - cmp_t value1 = tensor_read(input1, shape1, index1); + bool_t value1 = tensor_read(input1, shape1, index1); in_out_t value2 = tensor_read(input2, shape2, index2); in_out_t value3 = tensor_read(input3, shape3, index3); in_out_t result; diff --git a/tosa.xml b/tosa.xml index f3f77a7..627bd5a 100644 --- a/tosa.xml +++ b/tosa.xml @@ -1342,7 +1342,7 @@ SELECT - + Input selector tensor @@ -1357,22 +1357,21 @@ - - - - - - + + + + + - + - + diff --git a/tosa.xsd b/tosa.xsd index 1409c28..87ee3b5 100644 --- a/tosa.xsd +++ b/tosa.xsd @@ -50,7 +50,6 @@ - @@ -175,7 +174,6 @@ - -- cgit v1.2.1