Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Feb 2, 2024
1 parent c1d34e7 commit 465fccd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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))
{
Expand Down

0 comments on commit 465fccd

Please sign in to comment.