Home
last modified time | relevance | path

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

1234

/frameworks/native/vulkan/tools/
Dvkinfo.cpp40 VkPhysicalDeviceFeatures features; member
132 vkGetPhysicalDeviceFeatures(gpu, &info.features); in GatherGpuInfo()
202 .pEnabledFeatures = &info.features, in GatherGpuInfo()
368 const VkPhysicalDeviceFeatures& features) { in PrintAllFeatures() argument
370 printf("%srobustBufferAccess: %s\n", indent, features.robustBufferAccess ? "YES" : "NO"); in PrintAllFeatures()
371 printf("%sfullDrawIndexUint32: %s\n", indent, features.fullDrawIndexUint32 ? "YES" : "NO"); in PrintAllFeatures()
372 printf("%simageCubeArray: %s\n", indent, features.imageCubeArray ? "YES" : "NO"); in PrintAllFeatures()
373 printf("%sindependentBlend: %s\n", indent, features.independentBlend ? "YES" : "NO"); in PrintAllFeatures()
374 printf("%sgeometryShader: %s\n", indent, features.geometryShader ? "YES" : "NO"); in PrintAllFeatures()
375 printf("%stessellationShader: %s\n", indent, features.tessellationShader ? "YES" : "NO"); in PrintAllFeatures()
[all …]
/frameworks/native/vulkan/vkjson/
Dvkjson.cc493 inline bool Iterate(Visitor* visitor, VkPhysicalDeviceFeatures* features) { in Iterate() argument
495 visitor->Visit("robustBufferAccess", &features->robustBufferAccess) && in Iterate()
496 visitor->Visit("fullDrawIndexUint32", &features->fullDrawIndexUint32) && in Iterate()
497 visitor->Visit("imageCubeArray", &features->imageCubeArray) && in Iterate()
498 visitor->Visit("independentBlend", &features->independentBlend) && in Iterate()
499 visitor->Visit("geometryShader", &features->geometryShader) && in Iterate()
500 visitor->Visit("tessellationShader", &features->tessellationShader) && in Iterate()
501 visitor->Visit("sampleRateShading", &features->sampleRateShading) && in Iterate()
502 visitor->Visit("dualSrcBlend", &features->dualSrcBlend) && in Iterate()
503 visitor->Visit("logicOp", &features->logicOp) && in Iterate()
[all …]
/frameworks/compile/libbcc/lib/
DCompilerConfig.cpp38 llvm::StringMap<bool> features; in AddX86NativeCPUFeatures() local
39 if (llvm::sys::getHostCPUFeatures(features)) { in AddX86NativeCPUFeatures()
40 for (const auto& f : features) in AddX86NativeCPUFeatures()
109 llvm::StringMap<bool> features; in initializeArch() local
110 llvm::sys::getHostCPUFeatures(features); in initializeArch()
132 if (features.count("hwdiv-arm") && features["hwdiv-arm"]) in initializeArch()
135 if (features.count("hwdiv") && features["hwdiv"]) in initializeArch()
142 if (features.count("fp16") && features["fp16"]) in initializeArch()
150 if (features.count("neon") && features["neon"]) in initializeArch()
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dsvdf_float16.mod.py18 features = 4 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT16", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT16", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*features))
33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*features))
60 state_in: [0 for _ in range(batches * memory_size * features)],
127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
Dsvdf_bias_present_float16.mod.py18 features = 4 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT16", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT16", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*features))
33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*features))
60 state_in: [0 for _ in range(batches * memory_size * features)],
127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
Dembedding_lookup_v1_2.mod.py20 features = 4 variable
22 actual_values = [x for x in range(rows * columns * features)]
25 for k in range(features):
26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100.
31 "{%d, %d, %d}" % (rows, columns, features))
33 "{%d, %d, %d}" % (lookups, columns, features))
/frameworks/ml/nn/runtime/test/specs/V1_0/
Dsvdf_bias_present.mod.py18 features = 4 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
60 state_in: [0 for _ in range(batches * memory_size * features)],
127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
Dsvdf2.mod.py18 features = 8 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
75 state_in: [0 for _ in range(batches * memory_size * features)],
142 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
Dsvdf.mod.py18 features = 4 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
60 state_in: [0 for _ in range(batches * memory_size * features)],
127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
Dhashtable_lookup_quant8.mod.py20 features = 2 variable
22 table = [x for x in range(rows * features)]
24 for j in range(features):
25 table[i * features + j] = i * 10 + j
31 value = Input("value", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (rows, features))
32 output = Output("output", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (lookups, features))
Dembedding_lookup.mod.py20 features = 4 variable
22 actual_values = [x for x in range(rows * columns * features)]
25 for k in range(features):
26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100.
30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features))
31 output = Output("output", "TENSOR_FLOAT32", "{%d, %d, %d}" % (lookups, columns, features))
Dhashtable_lookup_float.mod.py20 features = 2 variable
22 table = [x for x in range(rows * features)]
24 for j in range(features):
25 table[i * features + j] = i + j / 10.
31 value = Input("value", "TENSOR_FLOAT32", "{%d, %d}" % (rows, features))
32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (lookups, features))
/frameworks/ml/nn/runtime/test/specs/V1_1/
Dsvdf2_relaxed.mod.py18 features = 8 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
76 state_in: [0 for _ in range(batches * memory_size * features)],
143 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
Dsvdf_relaxed.mod.py18 features = 4 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
61 state_in: [0 for _ in range(batches * memory_size * features)],
128 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
Dsvdf_bias_present_relaxed.mod.py18 features = 4 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
61 state_in: [0 for _ in range(batches * memory_size * features)],
128 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
Dembedding_lookup_relaxed.mod.py20 features = 4 variable
22 actual_values = [x for x in range(rows * columns * features)]
25 for k in range(features):
26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100.
30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features))
31 output = Output("output", "TENSOR_FLOAT32", "{%d, %d, %d}" % (lookups, columns, features))
Dhashtable_lookup_float_relaxed.mod.py20 features = 2 variable
22 table = [x for x in range(rows * features)]
24 for j in range(features):
25 table[i * features + j] = i + j / 10.
31 value = Input("value", "TENSOR_FLOAT32", "{%d, %d}" % (rows, features))
32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (lookups, features))
/frameworks/ml/nn/runtime/test/specs/V1_3/
Dembedding_lookup_v1_3.mod.py20 features = 4 variable
22 actual_values = [x for x in range(rows * columns * features)]
25 for k in range(features):
26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100.
31 "{%d, %d, %d}" % (rows, columns, features))
33 "{%d, %d, %d}" % (lookups, columns, features))
Dembedding_lookup_quant8_signed.mod.py20 features = 4 variable
22 actual_values = [x for x in range(rows * columns * features)]
25 for k in range(features):
26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100.
31 "{%d, %d, %d}" % (rows, columns, features))
33 "{%d, %d, %d}" % (lookups, columns, features))
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java146 HashSet<String> features = new HashSet<>(); in testAddDevicePackageToCache() local
147 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); in testAddDevicePackageToCache()
148 features.add(ImsResolver.METADATA_MMTEL_FEATURE); in testAddDevicePackageToCache()
149 features.add(ImsResolver.METADATA_RCS_FEATURE); in testAddDevicePackageToCache()
150 setupPackageQuery(TEST_DEVICE_DEFAULT_NAME, features, true); in testAddDevicePackageToCache()
160 assertTrue(isImsServiceInfoEqual(TEST_DEVICE_DEFAULT_NAME, features, testCachedService)); in testAddDevicePackageToCache()
172 HashSet<String> features = new HashSet<>(); in testAddCarrierPackageToCache() local
173 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); in testAddCarrierPackageToCache()
174 features.add(ImsResolver.METADATA_MMTEL_FEATURE); in testAddCarrierPackageToCache()
175 features.add(ImsResolver.METADATA_RCS_FEATURE); in testAddCarrierPackageToCache()
[all …]
/frameworks/base/core/java/android/content/pm/
DFeatureGroupInfo.java33 public FeatureInfo[] features; field in FeatureGroupInfo
39 features = other.features; in FeatureGroupInfo()
49 dest.writeTypedArray(features, flags); in writeToParcel()
56 group.features = source.createTypedArray(FeatureInfo.CREATOR);
/frameworks/base/telephony/java/android/telephony/ims/compat/
DImsService.java186 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeature() local
187 if (features == null) { in addImsFeature()
189 features = new SparseArray<>(); in addImsFeature()
190 mFeaturesBySlot.put(slotId, features); in addImsFeature()
192 features.put(featureType, f); in addImsFeature()
200 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in removeImsFeature() local
201 if (features == null) { in removeImsFeature()
206 ImsFeature f = features.get(featureType); in removeImsFeature()
214 features.remove(featureType); in removeImsFeature()
/frameworks/base/telephony/java/android/telephony/ims/
DImsService.java241 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeature() local
242 if (features == null) { in addImsFeature()
244 features = new SparseArray<>(); in addImsFeature()
245 mFeaturesBySlot.put(slotId, features); in addImsFeature()
247 features.put(featureType, f); in addImsFeature()
255 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in removeImsFeature() local
256 if (features == null) { in removeImsFeature()
261 ImsFeature f = features.get(featureType); in removeImsFeature()
269 features.remove(featureType); in removeImsFeature()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java93 if ((mOpts.features & ExtendedOptions.FEATURE_STATE_CHANGES) != 0) { in onOptsChanged()
692 public final int features; field in ExtendedBitmapDrawable.ExtendedOptions
771 public ExtendedOptions(final int features) { in ExtendedOptions() argument
772 this(features, null, null); in ExtendedOptions()
778 public ExtendedOptions(final int features, final Drawable placeholder, in ExtendedOptions() argument
780 this.features = features; in ExtendedOptions()
802 if ((features & FEATURE_ORDERED_DISPLAY) != 0 && decodeAggregator == null) { in validate()
807 if ((features & FEATURE_PARALLAX) != 0 && parallaxSpeedMultiplier <= 1) { in validate()
812 if ((features & FEATURE_STATE_CHANGES) != 0) { in validate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java453 Set<ImsFeatureConfiguration.FeatureSlotPair> features =
456 dynamicQueryComplete(name, features);
486 Set<ImsFeatureConfiguration.FeatureSlotPair> features) {
487 Log.d(TAG, "onComplete called for name: " + name + printFeatures(features));
488 handleFeaturesChanged(name, features);
1044 Set<ImsFeatureConfiguration.FeatureSlotPair> features) { in bindImsServiceWithFeatures() argument
1046 if (shouldFeaturesCauseBind(features)) { in bindImsServiceWithFeatures()
1051 + features); in bindImsServiceWithFeatures()
1053 controller.changeImsServiceFeatures(features); in bindImsServiceWithFeatures()
1062 + " with features: " + features); in bindImsServiceWithFeatures()
[all …]

1234