Home
last modified time | relevance | path

Searched refs:CPUFeature (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dcpu_feature_guard.cc30 void CheckFeatureOrDie(CPUFeature feature, const string& feature_name) { in CheckFeatureOrDie()
45 void CheckIfFeatureUnused(CPUFeature feature, const string& feature_name, in CheckIfFeatureUnused()
63 CheckFeatureOrDie(CPUFeature::SSE, "SSE"); in CPUFeatureGuard()
66 CheckFeatureOrDie(CPUFeature::SSE2, "SSE2"); in CPUFeatureGuard()
69 CheckFeatureOrDie(CPUFeature::SSE3, "SSE3"); in CPUFeatureGuard()
72 CheckFeatureOrDie(CPUFeature::SSE4_1, "SSE4.1"); in CPUFeatureGuard()
75 CheckFeatureOrDie(CPUFeature::SSE4_2, "SSE4.2"); in CPUFeatureGuard()
78 CheckFeatureOrDie(CPUFeature::AVX, "AVX"); in CPUFeatureGuard()
81 CheckFeatureOrDie(CPUFeature::AVX2, "AVX2"); in CPUFeatureGuard()
84 CheckFeatureOrDie(CPUFeature::AVX512F, "AVX512F"); in CPUFeatureGuard()
[all …]
Dcpu_info.h56 enum CPUFeature { enum
113 bool TestCPUFeature(CPUFeature feature);
Dport_test.cc82 const bool has_avx = TestCPUFeature(CPUFeature::AVX); in TEST()
84 const bool has_avx2 = TestCPUFeature(CPUFeature::AVX2); in TEST()
Dcpu_info.cc205 static bool TestFeature(CPUFeature feature) { in TestFeature()
312 bool TestCPUFeature(CPUFeature feature) { in TestCPUFeature()
/external/webrtc/webrtc/system_wrappers/source/
Dcpu_features.cc22 int GetCPUInfoNoASM(CPUFeature feature) { in GetCPUInfoNoASM()
52 static int GetCPUInfo(CPUFeature feature) { in GetCPUInfo()
65 static int GetCPUInfo(CPUFeature feature) { in GetCPUInfo()
/external/webp/src/dsp/
Dcpu.c119 static int x86CPUInfo(CPUFeature feature) { in x86CPUInfo()
172 static int AndroidCPUInfo(CPUFeature feature) { in AndroidCPUInfo()
185 static int armCPUInfo(CPUFeature feature) { in armCPUInfo()
211 static int mipsCPUInfo(CPUFeature feature) { in mipsCPUInfo()
Ddsp.h219 } CPUFeature; typedef
221 typedef int (*VP8CPUInfo)(CPUFeature feature);
/external/webrtc/webrtc/system_wrappers/include/
Dcpu_features_wrapper.h24 } CPUFeature; typedef
34 typedef int (*WebRtc_CPUInfo)(CPUFeature feature);
/external/compiler-rt/lib/scudo/
Dscudo_utils.h33 enum CPUFeature { enum
37 bool testCPUFeature(CPUFeature feature);
Dscudo_utils.cpp81 bool testCPUFeature(CPUFeature feature) in testCPUFeature()
/external/tensorflow/tensorflow/core/kernels/
Dmkl_tfconv_op.h52 has_avx512f_ = port::TestCPUFeature(port::CPUFeature::AVX512F); in MklToTfOp()
Dmkl_input_conversion_op.cc66 has_avx512f_ = port::TestCPUFeature(port::CPUFeature::AVX512F); in MklInputConversionOp()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.cc971 using port::CPUFeature; in IsProbablySafeToLoad()
973 new std::map<string, std::pair<CPUFeature, string>>{ in IsProbablySafeToLoad()
974 {"__AVX512VL__=1", FEATURE(CPUFeature::AVX512VL)}, in IsProbablySafeToLoad()
/external/tensorflow/tensorflow/core/util/
Dmkl_util.h2189 return (!port::TestCPUFeature(port::CPUFeature::AVX512F) && in IsLegacyPlatform()
2190 !port::TestCPUFeature(port::CPUFeature::AVX2)); in IsLegacyPlatform()
2246 if (port::TestCPUFeature(port::CPUFeature::AVX512F)) {
2248 } else if (port::TestCPUFeature(port::CPUFeature::AVX2) &&