Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 4277) sorted by relevance

12345678910>>...172

/external/cpu_features/test/
Dcpuinfo_arm_test.cc30 EXPECT_TRUE(info.features.vfp); // triggered by vfpv3 in TEST()
31 EXPECT_TRUE(info.features.vfpv3); // triggered by neon in TEST()
32 EXPECT_TRUE(info.features.neon); in TEST()
33 EXPECT_TRUE(info.features.aes); in TEST()
34 EXPECT_TRUE(info.features.crc32); in TEST()
36 EXPECT_FALSE(info.features.vfpv4); in TEST()
37 EXPECT_FALSE(info.features.iwmmxt); in TEST()
38 EXPECT_FALSE(info.features.crunch); in TEST()
39 EXPECT_FALSE(info.features.thumbee); in TEST()
40 EXPECT_FALSE(info.features.vfpv3d16); in TEST()
[all …]
Dunix_features_aggregator_test.cc44 Features features; in TEST_F() local
46 &features); in TEST_F()
47 EXPECT_FALSE(features.a); in TEST_F()
48 EXPECT_FALSE(features.b); in TEST_F()
49 EXPECT_FALSE(features.c); in TEST_F()
53 Features features; in TEST_F() local
55 &features); in TEST_F()
56 EXPECT_TRUE(features.a); in TEST_F()
57 EXPECT_TRUE(features.b); in TEST_F()
58 EXPECT_TRUE(features.c); in TEST_F()
[all …]
Dcpuinfo_aarch64_test.cc30 EXPECT_TRUE(info.features.fp); in TEST()
31 EXPECT_FALSE(info.features.asimd); in TEST()
32 EXPECT_TRUE(info.features.aes); in TEST()
33 EXPECT_FALSE(info.features.pmull); in TEST()
34 EXPECT_FALSE(info.features.sha1); in TEST()
35 EXPECT_FALSE(info.features.sha2); in TEST()
36 EXPECT_FALSE(info.features.crc32); in TEST()
64 EXPECT_TRUE(info.features.fp); in TEST()
65 EXPECT_TRUE(info.features.asimd); in TEST()
66 EXPECT_TRUE(info.features.aes); in TEST()
[all …]
/external/u-boot/board/gdsys/common/
Dioep-fpga.c140 static int get_features(unsigned int fpga, struct fpga_features *features) in get_features() argument
187 memset(features, 0, sizeof(struct fpga_features)); in get_features()
194 features->video_channels = 0; in get_features()
198 features->video_channels = 1; in get_features()
203 features->video_channels = 2; in get_features()
209 features->carriers = 0; in get_features()
213 features->carriers = 1; in get_features()
217 features->carriers = 2; in get_features()
221 features->carriers = 4; in get_features()
227 features->carrier_speed = CARRIER_SPEED_1G; in get_features()
[all …]
/external/skia/src/core/
DSkCpu.cpp37 uint32_t features = 0; in read_cpu_features() local
43 if (abcd[3] & (1<<25)) { features |= SkCpu:: SSE1; } in read_cpu_features()
44 if (abcd[3] & (1<<26)) { features |= SkCpu:: SSE2; } in read_cpu_features()
45 if (abcd[2] & (1<< 0)) { features |= SkCpu:: SSE3; } in read_cpu_features()
46 if (abcd[2] & (1<< 9)) { features |= SkCpu::SSSE3; } in read_cpu_features()
47 if (abcd[2] & (1<<19)) { features |= SkCpu::SSE41; } in read_cpu_features()
48 if (abcd[2] & (1<<20)) { features |= SkCpu::SSE42; } in read_cpu_features()
52 if (abcd[2] & (1<<28)) { features |= SkCpu:: AVX; } in read_cpu_features()
53 if (abcd[2] & (1<<29)) { features |= SkCpu::F16C; } in read_cpu_features()
54 if (abcd[2] & (1<<12)) { features |= SkCpu:: FMA; } in read_cpu_features()
[all …]
DSkCpu.h57 uint32_t features = gCachedFeatures; in Supports() local
63 features |= SSE1; in Supports()
66 features |= SSE2; in Supports()
69 features |= SSE3; in Supports()
72 features |= SSSE3; in Supports()
75 features |= SSE41; in Supports()
78 features |= SSE42; in Supports()
81 features |= AVX; in Supports()
85 features |= AVX2; in Supports()
92 features &= (SSE1 | SSE2 | SSE3 | SSSE3 | SSE41 | SSE42 | AVX); in Supports()
[all …]
/external/skqp/src/core/
DSkCpu.cpp35 uint32_t features = 0; in read_cpu_features() local
41 if (abcd[3] & (1<<25)) { features |= SkCpu:: SSE1; } in read_cpu_features()
42 if (abcd[3] & (1<<26)) { features |= SkCpu:: SSE2; } in read_cpu_features()
43 if (abcd[2] & (1<< 0)) { features |= SkCpu:: SSE3; } in read_cpu_features()
44 if (abcd[2] & (1<< 9)) { features |= SkCpu::SSSE3; } in read_cpu_features()
45 if (abcd[2] & (1<<19)) { features |= SkCpu::SSE41; } in read_cpu_features()
46 if (abcd[2] & (1<<20)) { features |= SkCpu::SSE42; } in read_cpu_features()
50 if (abcd[2] & (1<<28)) { features |= SkCpu:: AVX; } in read_cpu_features()
51 if (abcd[2] & (1<<29)) { features |= SkCpu::F16C; } in read_cpu_features()
52 if (abcd[2] & (1<<12)) { features |= SkCpu:: FMA; } in read_cpu_features()
[all …]
DSkCpu.h57 uint32_t features = gCachedFeatures; in Supports() local
63 features |= SSE1; in Supports()
66 features |= SSE2; in Supports()
69 features |= SSE3; in Supports()
72 features |= SSSE3; in Supports()
75 features |= SSE41; in Supports()
78 features |= SSE42; in Supports()
81 features |= AVX; in Supports()
85 features |= AVX2; in Supports()
92 features &= (SkCpu::SSE1 | SkCpu::SSE2 | SkCpu::SSE3 | SkCpu::SSSE3 | SkCpu::SSE41); in Supports()
[all …]
/external/u-boot/drivers/misc/
Dihs_fpga.c247 static int get_features(struct udevice *dev, struct fpga_features *features) in get_features() argument
295 memset(features, 0, sizeof(struct fpga_features)); in get_features()
297 ihs_fpga_get(priv->map, features, &raw_features); in get_features()
302 features->video_channels = 0; in get_features()
306 features->video_channels = 1; in get_features()
311 features->video_channels = 2; in get_features()
317 features->carriers = 0; in get_features()
321 features->carriers = 1; in get_features()
325 features->carriers = 2; in get_features()
329 features->carriers = 4; in get_features()
[all …]
/external/iperf3/src/
Diperf_util.c245 static char features[1024]; in get_optional_features() local
248 snprintf(features, sizeof(features), "Optional features available: "); in get_optional_features()
252 strncat(features, ", ", in get_optional_features()
253 sizeof(features) - strlen(features) - 1); in get_optional_features()
255 strncat(features, "CPU affinity setting", in get_optional_features()
256 sizeof(features) - strlen(features) - 1); in get_optional_features()
262 strncat(features, ", ", in get_optional_features()
263 sizeof(features) - strlen(features) - 1); in get_optional_features()
265 strncat(features, "IPv6 flow label", in get_optional_features()
266 sizeof(features) - strlen(features) - 1); in get_optional_features()
[all …]
/external/cpu_features/src/
Dcpuinfo_x86.c540 X86Features* const features = &info->features; in ParseCpuId() local
546 features->fpu = IsBitSet(leaf_1.edx, 0); in ParseCpuId()
547 features->tsc = IsBitSet(leaf_1.edx, 4); in ParseCpuId()
548 features->cx8 = IsBitSet(leaf_1.edx, 8); in ParseCpuId()
549 features->clfsh = IsBitSet(leaf_1.edx, 19); in ParseCpuId()
550 features->mmx = IsBitSet(leaf_1.edx, 23); in ParseCpuId()
551 features->ss = IsBitSet(leaf_1.edx, 27); in ParseCpuId()
552 features->pclmulqdq = IsBitSet(leaf_1.ecx, 1); in ParseCpuId()
553 features->smx = IsBitSet(leaf_1.ecx, 6); in ParseCpuId()
554 features->cx16 = IsBitSet(leaf_1.ecx, 13); in ParseCpuId()
[all …]
Dcpuinfo_ppc.c162 &info.features); in GetPPCInfo()
179 int GetPPCFeaturesEnumValue(const PPCFeatures* features, in GetPPCFeaturesEnumValue() argument
183 return features->ppc32; in GetPPCFeaturesEnumValue()
185 return features->ppc64; in GetPPCFeaturesEnumValue()
187 return features->ppc601; in GetPPCFeaturesEnumValue()
189 return features->altivec; in GetPPCFeaturesEnumValue()
191 return features->fpu; in GetPPCFeaturesEnumValue()
193 return features->mmu; in GetPPCFeaturesEnumValue()
195 return features->mac_4xx; in GetPPCFeaturesEnumValue()
197 return features->unifiedcache; in GetPPCFeaturesEnumValue()
[all …]
Dcpuinfo_arm.c107 CpuFeatures_SetFromFlags(kConfigsSize, kConfigs, value, &info->features); in HandleArmLine()
163 info->features.idiva = true; in FixErrors()
168 info->features.neon = false; in FixErrors()
174 info->features.idiva = true; in FixErrors()
175 info->features.idivt = true; in FixErrors()
180 if (info->features.vfpv4) info->features.vfpv3 = true; in FixErrors()
181 if (info->features.neon) info->features.vfpv3 = true; in FixErrors()
182 if (info->features.vfpv3) info->features.vfp = true; in FixErrors()
215 &info.features); in GetArmInfo()
225 int GetArmFeaturesEnumValue(const ArmFeatures* features, in GetArmFeaturesEnumValue() argument
[all …]
/external/tensorflow/tensorflow/python/feature_column/
Ddense_features_v2_test.py51 features = {'a': [0.]}
53 inputs = self.evaluate(dense_features(features))
84 features = {'a': sparse_input}
86 inputs = dense_features(features)
97 _ = dense_features(features)
129 features = {'a': sparse_input}
132 matrix = dense_features(features)
150 df.DenseFeatures(feature_columns=[])(features={})
157 features={
165 features={
[all …]
Ddense_features_test.py52 features = {'a': [0.]}
54 inputs = self.evaluate(dense_features(features))
85 features = {'a': sparse_input}
87 inputs = dense_features(features)
98 _ = dense_features(features)
136 features = {'a': sparse_input}
138 inputs = dense_features(features)
149 _ = dense_features(features)
182 features = {'a': sparse_input}
185 matrix = dense_features(features)
[all …]
/external/e2fsprogs/tests/u_revert_upgrade_to_64bitmcsum/
Dscript19features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize,sparse_super,filet…
36 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
37 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
38 echo "FS features: ${features}" >> $OUT
48 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
49 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
50 echo "FS features: ${features}" >> $OUT
60 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
61 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
62 echo "FS features: ${features}" >> $OUT
[all …]
/external/cpu_features/ndk_compat/
Dcpu-features.c102 if (info.features.vfpv3) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_VFPv3; in android_cpuInit()
103 if (info.features.neon) { in android_cpuInit()
107 if (info.features.vfpv3d16) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_VFP_FP16; in android_cpuInit()
108 if (info.features.idiva) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_IDIV_ARM; in android_cpuInit()
109 if (info.features.idivt) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_IDIV_THUMB2; in android_cpuInit()
110 if (info.features.iwmmxt) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_iWMMXt; in android_cpuInit()
111 if (info.features.aes) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_AES; in android_cpuInit()
112 if (info.features.pmull) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_PMULL; in android_cpuInit()
113 if (info.features.sha1) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_SHA1; in android_cpuInit()
114 if (info.features.sha2) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_SHA2; in android_cpuInit()
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py44 features = lambda d: feature_pb2.Features(feature=d) function
170 original = example(features=features({"c": feature()}))
187 example(features=features({
189 })), example(features=features({
204 original = [example(features=features({"a": float_feature([1, 1, 3]),})),]
216 example(features=features({
219 example(features=features({
222 example(features=features({
225 example(features=features({
258 example(features=features({
[all …]
/external/e2fsprogs/tests/u_revert_64bitmcsum_onefile/
Dscript19features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize,sparse_super,filet…
36 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
37 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
38 echo "FS features: ${features}" >> $OUT
48 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
49 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
50 echo "FS features: ${features}" >> $OUT
60 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
61 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
62 echo "FS features: ${features}" >> $OUT
[all …]
/external/e2fsprogs/tests/u_onefile_bad/
Dscript19features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize,sparse_super,filet…
36 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
37 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
38 echo "FS features: ${features}" >> $OUT
48 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
49 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
50 echo "FS features: ${features}" >> $OUT
63 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
64 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
65 echo "FS features: ${features}" >> $OUT
[all …]
/external/cpuinfo/src/arm/linux/
Daarch64-isa.c8 uint32_t features, in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo() argument
13 if (features & CPUINFO_ARM_LINUX_FEATURE_AES) { in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo()
16 if (features & CPUINFO_ARM_LINUX_FEATURE_PMULL) { in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo()
19 if (features & CPUINFO_ARM_LINUX_FEATURE_SHA1) { in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo()
22 if (features & CPUINFO_ARM_LINUX_FEATURE_SHA2) { in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo()
25 if (features & CPUINFO_ARM_LINUX_FEATURE_CRC32) { in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo()
28 if (features & CPUINFO_ARM_LINUX_FEATURE_ATOMICS) { in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo()
32 if ((features & fp16arith_mask) == fp16arith_mask) { in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo()
39 } else if (features & CPUINFO_ARM_LINUX_FEATURE_FPHP) { in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo()
41 } else if (features & CPUINFO_ARM_LINUX_FEATURE_ASIMDHP) { in cpuinfo_arm64_linux_decode_isa_from_proc_cpuinfo()
[all …]
/external/e2fsprogs/tests/u_revert_all_onefile/
Dscript19features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize,sparse_super,filet…
36 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
37 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
38 echo "FS features: ${features}" >> $OUT
48 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
49 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
50 echo "FS features: ${features}" >> $OUT
60 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
61 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
62 echo "FS features: ${features}" >> $OUT
[all …]
/external/tensorflow/tensorflow/core/kernels/
Drelu_op_functor.h33 void operator()(const Device& d, typename TTypes<T>::ConstTensor features, in operator()
35 activations.device(d) = features.cwiseMax(static_cast<T>(0)); in operator()
49 typename TTypes<T>::ConstTensor features, in operator()
55 gradients * (features > static_cast<T>(0)).template cast<T>(); in operator()
66 void operator()(const Device& d, typename TTypes<T>::ConstTensor features, in operator()
69 features.cwiseMax(static_cast<T>(0)).cwiseMin(static_cast<T>(6)); in operator()
82 typename TTypes<T>::ConstTensor features, in operator()
88 backprops.device(d) = gradients * ((features > static_cast<T>(0)) * in operator()
89 (features < static_cast<T>(6))) in operator()
101 void operator()(const Device& d, typename TTypes<T>::ConstTensor features, in operator()
[all …]
/external/zlib/
Dcpu_features.c83 uint64_t features = android_getCpuFeatures(); in _cpu_check_features() local
84 arm_cpu_enable_crc32 = !!(features & ANDROID_CPU_ARM64_FEATURE_CRC32); in _cpu_check_features()
85 arm_cpu_enable_pmull = !!(features & ANDROID_CPU_ARM64_FEATURE_PMULL); in _cpu_check_features()
87 uint64_t features = android_getCpuFeatures(); in _cpu_check_features()
88 arm_cpu_enable_crc32 = !!(features & ANDROID_CPU_ARM_FEATURE_CRC32); in _cpu_check_features()
89 arm_cpu_enable_pmull = !!(features & ANDROID_CPU_ARM_FEATURE_PMULL); in _cpu_check_features()
91 unsigned long features = getauxval(AT_HWCAP); in _cpu_check_features()
92 arm_cpu_enable_crc32 = !!(features & HWCAP_CRC32); in _cpu_check_features()
93 arm_cpu_enable_pmull = !!(features & HWCAP_PMULL); in _cpu_check_features()
96 unsigned long features = getauxval(AT_HWCAP2); in _cpu_check_features()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Denvironment.mm33 std::vector<std::pair<MTLFeatureSet, int>> features;
35 features.emplace_back(MTLFeatureSet_iOS_GPUFamily1_v1, 7);
36 features.emplace_back(MTLFeatureSet_iOS_GPUFamily2_v1, 8);
39 features.emplace_back(MTLFeatureSet_iOS_GPUFamily1_v2, 7);
40 features.emplace_back(MTLFeatureSet_iOS_GPUFamily2_v2, 8);
41 features.emplace_back(MTLFeatureSet_iOS_GPUFamily3_v1, 9);
44 features.emplace_back(MTLFeatureSet_iOS_GPUFamily1_v3, 7);
45 features.emplace_back(MTLFeatureSet_iOS_GPUFamily2_v3, 8);
46 features.emplace_back(MTLFeatureSet_iOS_GPUFamily3_v2, 9);
49 features.emplace_back(MTLFeatureSet_iOS_GPUFamily2_v4, 8);
[all …]

12345678910>>...172