aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/NEON/kernels')
-rw-r--r--src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp
index 9954be1f82..b0f606332b 100644
--- a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp
+++ b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_fp32.cpp
@@ -79,6 +79,7 @@ namespace depthwise {
namespace
{
+#if defined(__aarch64__)
bool prefer_premultiply(const DepthwiseArgs &args) {
if ((args.stride_rows != args.stride_cols) || (args.kernel_rows != args.kernel_cols))
{
@@ -151,7 +152,6 @@ namespace
) * 2 / 3;
}
-#if defined(__aarch64__)
unsigned int multiplier_cycle_estimate(const DepthwiseArgs &args, const Nothing &)
{
return prefer_premultiply(args)? UINT32_MAX : 0;