adding missing file

This commit is contained in:
ct.clmsn 2025-03-31 21:11:09 -04:00
parent 910249372d
commit 5025995a31
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/utilities/cpu_info.h"
#include <asm/hwcap.h>
namespace NEO {
void CpuInfo::detect() const {
uint32_t cpuInfo[4] = {};
cpuid(cpuInfo, 0u);
features |= featureNone;
}
} // namespace NEO