Home
last modified time | relevance | path

Searched refs:CPUFeature (Results 1 – 18 of 18) 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/system_wrappers/source/
Dcpu_features.cc21 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.c125 static int x86CPUInfo(CPUFeature feature) { in x86CPUInfo()
178 static int AndroidCPUInfo(CPUFeature feature) { in AndroidCPUInfo()
190 static int wasmCPUInfo(CPUFeature feature) { in wasmCPUInfo()
215 static int armCPUInfo(CPUFeature feature) { in armCPUInfo()
241 static int mipsCPUInfo(CPUFeature feature) { in mipsCPUInfo()
Ddsp.h225 } CPUFeature; typedef
227 typedef int (*VP8CPUInfo)(CPUFeature feature);
/external/llvm-project/clang/lib/Basic/Targets/
DHexagon.cpp98 StringRef CPUFeature = CPU; in initFeatureMap() local
99 CPUFeature.consume_front("hexagon"); in initFeatureMap()
100 CPUFeature.consume_back("t"); in initFeatureMap()
101 if (!CPUFeature.empty()) in initFeatureMap()
102 Features[CPUFeature] = true; in initFeatureMap()
/external/webrtc/system_wrappers/include/
Dcpu_features_wrapper.h21 typedef enum { kSSE2, kSSE3 } CPUFeature; typedef
31 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/webp/tests/fuzzer/
Dfuzz_utils.h68 static WEBP_INLINE int GetCPUInfoNoSSE41(CPUFeature feature) { in GetCPUInfoNoSSE41()
73 static WEBP_INLINE int GetCPUInfoNoAVX(CPUFeature feature) { in GetCPUInfoNoAVX()
78 static WEBP_INLINE int GetCPUInfoForceSlowSSSE3(CPUFeature feature) { in GetCPUInfoForceSlowSSSE3()
85 static WEBP_INLINE int GetCPUInfoOnlyC(CPUFeature feature) { in GetCPUInfoOnlyC()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_tfconv_op.h54 has_avx512f_ = port::TestCPUFeature(port::CPUFeature::AVX512F); in MklToTfOp()
Dmkl_input_conversion_op.cc64 has_avx512f_ = port::TestCPUFeature(port::CPUFeature::AVX512F); in MklInputConversionOp()
/external/tensorflow/tensorflow/core/graph/
Dmkl_graph_util.h181 return port::TestCPUFeature(port::CPUFeature::AVX512F); in IsBF16SupportedByOneDNNOnThisCPU()
/external/tensorflow/tensorflow/python/util/
Dutil_wrapper.cc356 tensorflow::port::CPUFeature::AVX512F); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.cc1153 using port::CPUFeature; in IsProbablySafeToLoad()
1155 new std::map<string, std::pair<CPUFeature, string>>{ in IsProbablySafeToLoad()
1156 {"__AVX512VL__=1", FEATURE(CPUFeature::AVX512VL)}, in IsProbablySafeToLoad()
/external/tensorflow/tensorflow/core/util/
Dmkl_util.h1810 return (!port::TestCPUFeature(port::CPUFeature::AVX512F) && in IsLegacyPlatform()
1811 !port::TestCPUFeature(port::CPUFeature::AVX2)); in IsLegacyPlatform()