aboutsummaryrefslogtreecommitdiff
path: root/tosa.xml
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2022-12-05 12:07:40 +0000
committerEric Kunze <eric.kunze@arm.com>2022-12-09 15:52:08 +0000
commitb7293aedaea197acf1e5f93a0b450e6989c498d8 (patch)
tree62c90683b9478e26072ff8b3d9ca8156717bdb60 /tosa.xml
parent36f2d64e38467dc02c632951ce564a35abcaa268 (diff)
downloadspecification-b7293aedaea197acf1e5f93a0b450e6989c498d8.tar.gz
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 <kevin.petit@arm.com> Change-Id: I9e7992bbfdf5c7fafdd55df90feb4dcbcdee2972
Diffstat (limited to 'tosa.xml')
-rw-r--r--tosa.xml17
1 files changed, 8 insertions, 9 deletions
diff --git a/tosa.xml b/tosa.xml
index f3f77a7..627bd5a 100644
--- a/tosa.xml
+++ b/tosa.xml
@@ -1342,7 +1342,7 @@
<operator>
<name>SELECT</name>
<arguments>
- <argument category="input" name="input1" type="cmp_t" shape="shape1">
+ <argument category="input" name="input1" type="bool_t" shape="shape1">
<description>Input selector tensor</description>
</argument>
<argument category="input" name="input2" type="in_out_t*" shape="shape2">
@@ -1357,22 +1357,21 @@
</argument>
</arguments>
<types>
- <type name='cmp_t'/>
<type name='in_out_t'/>
</types>
- <typesupport mode="Boolean" cmp_t="bool_t" in_out_t="bool_t"/>
- <typesupport mode="signed 8" cmp_t="bool_t" in_out_t="int8_t"/>
- <typesupport mode="signed 16" cmp_t="bool_t" in_out_t="int16_t"/>
- <typesupport mode="signed 32" cmp_t="bool_t" in_out_t="int32_t"/>
- <typesupport mode="fp16" cmp_t="bool_t" in_out_t="fp16_t">
+ <typesupport mode="Boolean" in_out_t="bool_t"/>
+ <typesupport mode="signed 8" in_out_t="int8_t"/>
+ <typesupport mode="signed 16" in_out_t="int16_t"/>
+ <typesupport mode="signed 32" in_out_t="int32_t"/>
+ <typesupport mode="fp16" in_out_t="fp16_t">
<profile name="MI"/>
<profile name="MT"/>
</typesupport>
- <typesupport mode="bf16" cmp_t="bool_t" in_out_t="bf16_t">
+ <typesupport mode="bf16" in_out_t="bf16_t">
<profile name="MI"/>
<profile name="MT"/>
</typesupport>
- <typesupport mode="fp32" cmp_t="bool_t" in_out_t="fp32_t">
+ <typesupport mode="fp32" in_out_t="fp32_t">
<profile name="MI"/>
<profile name="MT"/>
</typesupport>