Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/platform/
Dcpu_feature_guard.cc31 void CheckFeatureOrDie(CPUFeature feature, const string& feature_name) { in CheckFeatureOrDie()
46 void CheckIfFeatureUnused(CPUFeature feature, const string& feature_name, in CheckIfFeatureUnused()
64 CheckFeatureOrDie(CPUFeature::SSE, "SSE"); in CPUFeatureGuard()
67 CheckFeatureOrDie(CPUFeature::SSE2, "SSE2"); in CPUFeatureGuard()
70 CheckFeatureOrDie(CPUFeature::SSE3, "SSE3"); in CPUFeatureGuard()
73 CheckFeatureOrDie(CPUFeature::SSE4_1, "SSE4.1"); in CPUFeatureGuard()
76 CheckFeatureOrDie(CPUFeature::SSE4_2, "SSE4.2"); in CPUFeatureGuard()
79 CheckFeatureOrDie(CPUFeature::AVX, "AVX"); in CPUFeatureGuard()
82 CheckFeatureOrDie(CPUFeature::AVX2, "AVX2"); in CPUFeatureGuard()
85 CheckFeatureOrDie(CPUFeature::AVX512F, "AVX512F"); in CPUFeatureGuard()
[all …]
Dcpu_info.h72 enum CPUFeature { enum
129 bool TestCPUFeature(CPUFeature feature);
Dport_test.cc184 const bool has_avx = TestCPUFeature(CPUFeature::AVX); in TEST()
186 const bool has_avx2 = TestCPUFeature(CPUFeature::AVX2); in TEST()
Dcpu_info.cc207 static bool TestFeature(CPUFeature feature) { in TestFeature()
314 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/oss-fuzz/projects/libwebp/
Dfuzz.h64 static int GetCPUInfoNoSSE41(CPUFeature feature) { in GetCPUInfoNoSSE41()
69 static int GetCPUInfoNoAVX(CPUFeature feature) { in GetCPUInfoNoAVX()
74 static int GetCPUInfoForceSlowSSSE3(CPUFeature feature) { in GetCPUInfoForceSlowSSSE3()
81 static int GetCPUInfoOnlyC(CPUFeature feature) { return 0; } in GetCPUInfoOnlyC()
/external/tensorflow/tensorflow/core/kernels/
Dmkl_tfconv_op.h61 has_avx512f_ = port::TestCPUFeature(port::CPUFeature::AVX512F); in MklToTfOp()
Dmkl_input_conversion_op.cc79 has_avx512f_ = port::TestCPUFeature(port::CPUFeature::AVX512F); in MklInputConversionOp()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.cc1139 using port::CPUFeature; in IsProbablySafeToLoad()
1141 new std::map<string, std::pair<CPUFeature, string>>{ in IsProbablySafeToLoad()
1142 {"__AVX512VL__=1", FEATURE(CPUFeature::AVX512VL)}, in IsProbablySafeToLoad()
/external/tensorflow/tensorflow/core/util/
Dmkl_util.h1969 return (!port::TestCPUFeature(port::CPUFeature::AVX512F) &&
1970 !port::TestCPUFeature(port::CPUFeature::AVX2));