aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/arm_conv/depthwise/depthwise_s8q.cpp
diff options
context:
space:
mode:
authorFreddie Liardet <frederick.liardet@arm.com>2021-09-21 12:36:43 +0100
committerFreddie Liardet <frederick.liardet@arm.com>2021-10-18 11:13:39 +0000
commit487d390b94ee93e1d89f5066ef8ca9442ab0a590 (patch)
tree4ecd1d31ee118a6e708dbff33df12cbcb6e58908 /src/core/NEON/kernels/arm_conv/depthwise/depthwise_s8q.cpp
parent841c3e9f68b1954828a9137d6780b6d021354eb7 (diff)
downloadComputeLibrary-487d390b94ee93e1d89f5066ef8ca9442ab0a590.tar.gz
Add user provided JSON operator list build
Allow ACL to be built via a user provided JSON file containing operators, data types and data layouts. Modify TFLite file to JSON file script to output data layouts. Fix build issue with "fat_binary" and "high_priority" options. Resolves: COMPMID-4697, COMPMID-4837 Signed-off-by: Freddie Liardet <frederick.liardet@arm.com> Change-Id: I08d494151c98f804325707ffd922ffe216813023 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6427 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/arm_conv/depthwise/depthwise_s8q.cpp')
-rw-r--r--src/core/NEON/kernels/arm_conv/depthwise/depthwise_s8q.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_s8q.cpp b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_s8q.cpp
index 1c4c7576f5..46a31185d7 100644
--- a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_s8q.cpp
+++ b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_s8q.cpp
@@ -62,11 +62,13 @@ namespace depthwise {
namespace
{
+#if defined(__aarch64__)
bool qp_weights_are_symmetric(const DepthwiseArgs &, const void *_qp)
{
const auto qp = static_cast<const arm_gemm::Requantize32 *>(_qp);
return qp->b_offset == 0;
}
+#endif // defined(__aarch64__)
}
static const DepthwiseImplementation<int8_t, int8_t, int8_t, Requantize32> depthwise_s8q_methods[] = {