Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 6f56978

Browse files
committed
cpu detection remove cout
1 parent a98d6fc commit 6f56978

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

device_detection_cpu/InstructionSet.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,15 +317,12 @@ std::tuple<int32_t, bool> detectL3SizeAndZen()
317317
memcpy(cpustr, &cpu_info[1], 4);
318318
memcpy(cpustr + 4, &cpu_info[3], 4);
319319
memcpy(cpustr + 8, &cpu_info[2], 4);
320-
321320
if (strcmp(cpustr, "GenuineIntel") == 0)
322321
{
323322
cpuid(4, 3, cpu_info);
324323

325324
if (get_masked(cpu_info[0], 7, 5) != 3)
326325
{
327-
//printer::inst()->print_msg(L0, "Autoconf failed: Couldn't find L3 cache page.");
328-
std::cout << "Autoconf failed: Couldn't find L3 cache page." << std::endl;
329326
return { L3KB_size, isZen };
330327
}
331328

@@ -349,8 +346,6 @@ std::tuple<int32_t, bool> detectL3SizeAndZen()
349346
}
350347
else
351348
{
352-
//printer::inst()->print_msg(L0, "Autoconf failed: Unknown CPU type: %s.", cpustr);
353-
std::cout << "Autoconf failed: Unknown CPU type: " << cpustr << std::endl;
354349
return { L3KB_size, isZen };
355350
}
356351
}

0 commit comments

Comments
 (0)