From 6f56978271aa24594a42f45be0c103d7638c61c8 Mon Sep 17 00:00:00 2001 From: Stanko Date: Fri, 16 Oct 2020 08:05:44 +0200 Subject: [PATCH] cpu detection remove cout --- device_detection_cpu/InstructionSet.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/device_detection_cpu/InstructionSet.cpp b/device_detection_cpu/InstructionSet.cpp index 8ec83f2..d96e02f 100644 --- a/device_detection_cpu/InstructionSet.cpp +++ b/device_detection_cpu/InstructionSet.cpp @@ -317,15 +317,12 @@ std::tuple detectL3SizeAndZen() memcpy(cpustr, &cpu_info[1], 4); memcpy(cpustr + 4, &cpu_info[3], 4); memcpy(cpustr + 8, &cpu_info[2], 4); - if (strcmp(cpustr, "GenuineIntel") == 0) { cpuid(4, 3, cpu_info); if (get_masked(cpu_info[0], 7, 5) != 3) { - //printer::inst()->print_msg(L0, "Autoconf failed: Couldn't find L3 cache page."); - std::cout << "Autoconf failed: Couldn't find L3 cache page." << std::endl; return { L3KB_size, isZen }; } @@ -349,8 +346,6 @@ std::tuple detectL3SizeAndZen() } else { - //printer::inst()->print_msg(L0, "Autoconf failed: Unknown CPU type: %s.", cpustr); - std::cout << "Autoconf failed: Unknown CPU type: " << cpustr << std::endl; return { L3KB_size, isZen }; } }