From b3048788c0a9bb5c51f409828ce4c11fa933471f Mon Sep 17 00:00:00 2001 From: nihuini Date: Thu, 23 Jan 2025 16:53:24 +0800 Subject: [PATCH] w --- src/layer/arm/convolution_arm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layer/arm/convolution_arm.cpp b/src/layer/arm/convolution_arm.cpp index 3933d424c2b..4d379f65eae 100644 --- a/src/layer/arm/convolution_arm.cpp +++ b/src/layer/arm/convolution_arm.cpp @@ -1376,11 +1376,13 @@ int Convolution_arm::forward_int8_arm(const Mat& bottom_blob, Mat& top_blob, con #if __ARM_NEON if (opt.use_packing_layout) { +#if NCNN_ARM82 if (ncnn::cpu_support_arm_asimdhp() && opt.use_fp16_arithmetic) { out_elempack_int32 = num_output % 8 == 0 ? 8 : num_output % 4 == 0 ? 4 : 1; } else +#endif // NCNN_ARM82 { out_elempack_int32 = num_output % 4 == 0 ? 4 : 1; }