Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ CPUFamily
Function
CPUFamily
tensorflow/core/platform/cpu_info.cc:329–336 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
327
}
328
329
int CPUFamily() {
330
#ifdef PLATFORM_IS_X86
331
InitCPUIDInfo();
332
return cpuid->family();
333
#else
334
return 0;
335
#endif
336
}
337
338
int CPUModelNum() {
339
#ifdef PLATFORM_IS_X86
Callers
1
GetLocalCPUInfo
Function · 0.85
Calls
2
InitCPUIDInfo
Function · 0.85
family
Method · 0.80
Tested by
no test coverage detected