From f94bbbd747d77382e9000b2d7ec17df0a6a29162 Mon Sep 17 00:00:00 2001 From: KatyushaScarlet Date: Mon, 7 Aug 2023 03:12:28 +0800 Subject: [PATCH] Fix the definition of logical_cpu_count --- Common/LoongArchCPUDetect.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Common/LoongArchCPUDetect.cpp b/Common/LoongArchCPUDetect.cpp index 4972d53e94..8d986a44de 100644 --- a/Common/LoongArchCPUDetect.cpp +++ b/Common/LoongArchCPUDetect.cpp @@ -92,6 +92,7 @@ void CPUInfo::Detect() { truncate_cpy(cpu_string, GetCPUString().c_str()); truncate_cpy(brand_string, GetCPUBrandString().c_str()); num_cores = GetCoreCount(); + logical_cpu_count = 1; #endif }