fix with bigger batch sizes

This commit is contained in:
lizzie 2026-03-17 23:28:24 +00:00 committed by crueter
parent 585b3dcde1
commit 2f0192665e
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
20 changed files with 164 additions and 152 deletions

View file

@ -77,7 +77,7 @@ CPUCaps::Manufacturer CPUCaps::ParseManufacturer(std::string_view brand_string)
}
// Detects the various CPU features
static CPUCaps Detect() {
static CPUCaps DetectCPUCapabilities() {
CPUCaps caps = {};
// Assumes the CPU supports the CPUID instruction. Those that don't would likely not support
@ -208,7 +208,7 @@ static CPUCaps Detect() {
}
const CPUCaps& GetCPUCaps() {
static CPUCaps caps = Detect();
static CPUCaps caps = DetectCPUCapabilities();
return caps;
}