diff options
Diffstat (limited to 'src/core/NEON/kernels/arm_gemm/merges/a64_merge_s32_12x8.hpp')
-rw-r--r-- | src/core/NEON/kernels/arm_gemm/merges/a64_merge_s32_12x8.hpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/core/NEON/kernels/arm_gemm/merges/a64_merge_s32_12x8.hpp b/src/core/NEON/kernels/arm_gemm/merges/a64_merge_s32_12x8.hpp index 2e45d8b5d1..fcf08e4e15 100644 --- a/src/core/NEON/kernels/arm_gemm/merges/a64_merge_s32_12x8.hpp +++ b/src/core/NEON/kernels/arm_gemm/merges/a64_merge_s32_12x8.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 ARM Limited. + * Copyright (c) 2019-2020 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -26,10 +26,8 @@ #ifdef __aarch64__ template<> -void MergeResults<12, 8, false>(int32_t *out, const int32_t *in, const int ldout, const int y0, const int ymax, const int x0, const int xmax, const int32_t *bias, Activation act, bool append) +void MergeResults<12, 8, false>(int32_t *out, const int32_t *in, const int ldout, const int y0, const int ymax, const int x0, const int xmax, const int32_t *bias, Activation , bool append) { - UNUSED(act); - const int32_t *inptr = in; int32_t nullbias[12]; @@ -862,11 +860,7 @@ void MergeResults<12, 8, false>(int32_t *out, const int32_t *in, const int ldout } else { - const int32_t *biasptr = nullbias; - if (bias) - { - biasptr = bias + i; - } + const int32_t *biasptr = bias ? bias + i : nullbias; switch(height) { |