MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / InitCPUIDInfo

Function InitCPUIDInfo

tensorflow/core/platform/cpu_info.cc:302–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300std::once_flag cpuid_once_flag;
301
302void InitCPUIDInfo() {
303 // This ensures that CPUIDInfo::Initialize() is called exactly
304 // once regardless of how many threads concurrently call us
305 std::call_once(cpuid_once_flag, CPUIDInfo::Initialize);
306}
307
308#endif // PLATFORM_IS_X86
309

Callers 4

TestFeatureMethod · 0.85
CPUVendorIDStringFunction · 0.85
CPUFamilyFunction · 0.85
CPUModelNumFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestFeatureMethod · 0.68