From 9dfd733635b875cf940fc425fa94a951dea40f43 Mon Sep 17 00:00:00 2001 From: xiaying Date: Tue, 20 Aug 2024 11:25:15 +0800 Subject: [PATCH] MNN:Bugfix: Fix compile bug for armv7a-arm82 --- source/backend/cpu/CPURuntime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/backend/cpu/CPURuntime.cpp b/source/backend/cpu/CPURuntime.cpp index 98b7d04f5..41f04fd8b 100644 --- a/source/backend/cpu/CPURuntime.cpp +++ b/source/backend/cpu/CPURuntime.cpp @@ -1128,7 +1128,7 @@ static void _getInfoARMv7(MNNCPUInfo* cpuinfo_isa) { if (0 == cpuinfo_isa->groups.size()) { return; } - const uint32_t processors_count = cpuinfo_isa->allCpuIdsSorted.size(); + const uint32_t processors_count = cpuinfo_isa->cpuNumber; char proc_cpuinfo_hardware[CPUINFO_HARDWARE_VALUE_MAX] = {0};