mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-28 22:56:32 +00:00
Diable __cpuid call for ARM64EC (#19592)
Diable __cpuid call for ARM64EC Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
This commit is contained in:
parent
38c3432393
commit
5197db1980
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ uint32_t HardwareCoreEnumerator::DefaultIntraOpNumThreads() {
|
|||
// # of logical cores = # of P cores x 2 (if hyper threading is enabled) + # of E cores + # of Soc Cores.
|
||||
auto cores = GetNumberOPhysicalAndEngineeringCores();
|
||||
|
||||
#if !defined(_M_ARM64) && !defined(__aarch64__)
|
||||
#if !defined(_M_ARM64EC) && !defined(_M_ARM64) && !defined(__aarch64__)
|
||||
const int kVendorID_Intel[3] = {0x756e6547, 0x6c65746e, 0x49656e69}; // "GenuntelineI"
|
||||
int regs_leaf0[4];
|
||||
int regs_leaf7[4];
|
||||
|
|
|
|||
Loading…
Reference in a new issue