MCPcopy Create free account
hub / github.com/RenderKit/oidn / cpuid

Function cpuid

devices/cpu/cpu_device.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers 1

getNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected