Home
last modified time | relevance | path

Searched refs:cpu_flags (Results 1 – 12 of 12) sorted by relevance

/external/libyuv/files/unit_test/
Dunit_test.cc169 const char* cpu_flags = getenv("LIBYUV_FLAGS"); in LibYUVConvertTest() local
170 if (cpu_flags) { in LibYUVConvertTest()
171 disable_cpu_flags_ = atoi(cpu_flags); // NOLINT in LibYUVConvertTest()
178 benchmark_cpu_info_ = atoi(cpu_flags); // NOLINT in LibYUVConvertTest()
225 const char* cpu_flags = getenv("LIBYUV_FLAGS"); in LibYUVColorTest() local
226 if (cpu_flags) { in LibYUVColorTest()
227 disable_cpu_flags_ = atoi(cpu_flags); // NOLINT in LibYUVColorTest()
234 benchmark_cpu_info_ = atoi(cpu_flags); // NOLINT in LibYUVColorTest()
281 const char* cpu_flags = getenv("LIBYUV_FLAGS"); in LibYUVScaleTest() local
282 if (cpu_flags) { in LibYUVScaleTest()
[all …]
Dcpu_test.cc22 int cpu_flags = TestCpuFlag(-1); in TEST_F() local
23 printf("Cpu Flags %d\n", cpu_flags); in TEST_F()
170 int cpu_flags = kCpuHasARM | kCpuHasNEON | kCpuInitialized; in TEST_F() local
171 SetCpuFlags(cpu_flags); in TEST_F()
172 EXPECT_EQ(cpu_flags, TestCpuFlag(-1)); in TEST_F()
174 cpu_flags = kCpuHasX86 | kCpuInitialized; in TEST_F()
175 SetCpuFlags(cpu_flags); in TEST_F()
176 EXPECT_EQ(cpu_flags, TestCpuFlag(-1)); in TEST_F()
/external/adhd/cras/src/server/
Dcras_mix.c14 static const struct cras_mix_ops *get_mixer_ops(unsigned int cpu_flags) in get_mixer_ops() argument
17 if (cpu_flags & CPU_X86_FMA) in get_mixer_ops()
21 if (cpu_flags & CPU_X86_AVX2) in get_mixer_ops()
25 if (cpu_flags & CPU_X86_AVX) in get_mixer_ops()
29 if (cpu_flags & CPU_X86_SSE4_2) in get_mixer_ops()
Dcras_server.c402 unsigned int cpu_flags = 0; in cpu_x86_flags() local
410 cpu_flags |= CPU_X86_SSE4_2; in cpu_x86_flags()
413 cpu_flags |= CPU_X86_AVX; in cpu_x86_flags()
416 cpu_flags |= CPU_X86_FMA; in cpu_x86_flags()
423 cpu_flags |= CPU_X86_AVX2; in cpu_x86_flags()
426 return cpu_flags; in cpu_x86_flags()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_multithread.h40 T* output_data, const CpuFlags& cpu_flags, in DepthwiseConvWorkerTask()
51 cpu_flags_(cpu_flags), in DepthwiseConvWorkerTask()
146 CpuFlags cpu_flags; in DepthwiseConv() local
147 GetCpuFlags(&cpu_flags); in DepthwiseConv()
152 output_data, cpu_flags, /*thread_start=*/0, in DepthwiseConv()
176 output_data, cpu_flags, thread_start, thread_end, in DepthwiseConv()
Dcpu_check.h34 inline void GetCpuFlags(CpuFlags* cpu_flags) { in GetCpuFlags() argument
35 cpu_flags->neon_dotprod = DetectArmNeonDotprod(); in GetCpuFlags()
Ddepthwiseconv_uint8.h1998 uint8* output_data, const CpuFlags& cpu_flags, int thread_start,
2022 if (cpu_flags.neon_dotprod) {
2075 uint8* output_data, const CpuFlags& cpu_flags, int thread_start,
2079 bias_data, output_shape, output_data, cpu_flags, thread_start, thread_end,
/external/libyuv/files/include/libyuv/
Dcpu_id.h100 static __inline void SetCpuFlags(int cpu_flags) { in SetCpuFlags() argument
103 __atomic_store_n(&cpu_info_, cpu_flags, __ATOMIC_RELAXED); in SetCpuFlags()
105 cpu_info_ = cpu_flags; in SetCpuFlags()
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dcpu_id.h99 static __inline void SetCpuFlags(int cpu_flags) { in SetCpuFlags() argument
102 __atomic_store_n(&cpu_info_, cpu_flags, __ATOMIC_RELAXED); in SetCpuFlags()
104 cpu_info_ = cpu_flags; in SetCpuFlags()
/external/libyuv/files/util/
Dcpuid.c21 int cpu_flags = TestCpuFlag(-1); in main() local
63 printf("Cpu Flags %x\n", cpu_flags); in main()
/external/tensorflow/tensorflow/lite/kernels/internal/
Ddepthwiseconv_quantized_test.cc1077 CpuFlags cpu_flags; in TestOneNeonDot3x3() local
1078 GetCpuFlags(&cpu_flags); in TestOneNeonDot3x3()
1079 const bool has_dot_product_instructions = cpu_flags.neon_dotprod; in TestOneNeonDot3x3()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Ddepthwise_conv.h1820 CpuFlags cpu_flags;
1821 GetCpuFlags(&cpu_flags);
1822 const bool has_dot_product_instructions = cpu_flags.neon_dotprod;