From 465fccdb96a3a95bf83199ebfc34c8ddc684a6e7 Mon Sep 17 00:00:00 2001 From: nihuini Date: Fri, 2 Feb 2024 16:04:00 +0800 Subject: [PATCH] fix --- src/net.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/net.cpp b/src/net.cpp index c30b1649f94f..ff2ab6091373 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2691,8 +2691,8 @@ int Extractor::extract(int blob_index, Mat& feat, int type) // clang-format off // *INDENT-OFF* -#if NCNN_ARM82 - if (d->opt.use_fp16_storage && cpu_support_arm_asimdhp() && (type == 0)) +#if NCNN_VFPV4 + if (d->opt.use_fp16_storage && cpu_support_arm_vfpv4() && (type == 0)) { if (feat.elembits() == 16) { @@ -2702,7 +2702,7 @@ int Extractor::extract(int blob_index, Mat& feat, int type) } } else -#endif // NCNN_ARM82 +#endif // NCNN_VFPV4 #if NCNN_BF16 if (d->opt.use_bf16_storage && (type == 0)) {