Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ CPUModelNum
Function
CPUModelNum
tensorflow/core/platform/cpu_info.cc:338–345 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
336
}
337
338
int CPUModelNum() {
339
#ifdef PLATFORM_IS_X86
340
InitCPUIDInfo();
341
return cpuid->model_num();
342
#else
343
return 0;
344
#endif
345
}
346
347
int CPUIDNumSMT() {
348
#ifdef PLATFORM_IS_X86
Callers
1
GetLocalCPUInfo
Function · 0.85
Calls
2
InitCPUIDInfo
Function · 0.85
model_num
Method · 0.80
Tested by
no test coverage detected