| 30 | |
| 31 | #if defined(OIDN_ARCH_X64) && !defined(__APPLE__) |
| 32 | oidn_inline void cpuid(int cpuInfo[4], int functionID) |
| 33 | { |
| 34 | #if defined(_WIN32) |
| 35 | __cpuid(cpuInfo, functionID); |
| 36 | #else |
| 37 | __cpuid(functionID, cpuInfo[0], cpuInfo[1], cpuInfo[2], cpuInfo[3]); |
| 38 | #endif |
| 39 | } |
| 40 | #endif |
| 41 | |
| 42 | CPUPhysicalDevice::CPUPhysicalDevice(int score) |