Skip to content

Commit

Permalink
补充
Browse files Browse the repository at this point in the history
  • Loading branch information
Qi-qi0317 committed Sep 13, 2024
1 parent 591b55d commit b0ed35d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2160,6 +2160,12 @@ int cpu_support_arm_vfpv4()
int cpu_support_arm_asimdhp()
{
try_initialize_global_cpu_info();
// ¼ì²é»·¾³±äÁ¿ NCNN_ISA
const char* ncnnIsaEnv = std::getenv("NCNN_ISA");
if (ncnnIsaEnv && strstr(ncnnIsaEnv, "+asimdhp") != nullptr)
{
return true;
}
#if __aarch64__
#if defined _WIN32
return g_cpu_support_arm_asimdhp;
Expand Down

0 comments on commit b0ed35d

Please sign in to comment.