aboutsummaryrefslogtreecommitdiff
path: root/scripts/operator_api/templates/operators_cc.j2
diff options
context:
space:
mode:
authorGrant Watson <grant.watson@arm.com>2023-06-23 16:52:12 +0100
committerEric Kunze <eric.kunze@arm.com>2023-06-26 15:44:59 +0000
commiteb74106e1bc52127e5631736e10e8f8b0b7a1d07 (patch)
tree1e5b4286ca1c55eb37bd3ce3a80669b420a4299b /scripts/operator_api/templates/operators_cc.j2
parentfe36fa9f38824d03250393488fe468b7dacc72ed (diff)
downloadreference_model-eb74106e1bc52127e5631736e10e8f8b0b7a1d07.tar.gz
Upgrade to latest version of TOSA specification
Signed-off-by: Grant Watson <grant.watson@arm.com> Change-Id: I1296f968baca335ea88691bc973e2d01b2aa2c5b
Diffstat (limited to 'scripts/operator_api/templates/operators_cc.j2')
-rw-r--r--scripts/operator_api/templates/operators_cc.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/operator_api/templates/operators_cc.j2 b/scripts/operator_api/templates/operators_cc.j2
index 3f2acb5..37a0af6 100644
--- a/scripts/operator_api/templates/operators_cc.j2
+++ b/scripts/operator_api/templates/operators_cc.j2
@@ -49,6 +49,8 @@ tosa::DType translate_client_datatype(tosa_datatype_t type)
return tosa::DType::DType_FP16;
case tosa_datatype_fp32_t:
return tosa::DType::DType_FP32;
+ case tosa_datatype_bool_t:
+ return tosa::DType::DType_BOOL;
default:
return tosa::DType::DType_UNKNOWN;
}