mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
Reformat neuralnetworks/1.2/types.hal according to clang-format
While we cannot run clang-format on types.hal directly, we can do so on the canonical Types.h (which is generated from the same template) and observe the difference. See change Ia43936d8. Bug: 160667417 Test: m Change-Id: Id6a237f29c8156b213455ab093d11ed4c2015460
This commit is contained in:
@@ -780,7 +780,7 @@ bda492ec4021d13869de72bd6f8c15c5837b78d6136b8d538efec5320573a5ec android.hardwar
|
||||
dabe23dde7c9e3ad65c61def7392f186d7efe7f4216f9b6f9cf0863745b1a9f4 android.hardware.keymaster@4.1::IKeymasterDevice
|
||||
cd84ab19c590e0e73dd2307b591a3093ee18147ef95e6d5418644463a6620076 android.hardware.neuralnetworks@1.2::IDevice
|
||||
f729ee6a5f136b25d79ea6895d24700fce413df555baaecf2c39e4440d15d043 android.hardware.neuralnetworks@1.0::types
|
||||
c6ae443608502339aec4256feef48e7b2d36f7477ca5361cc95cd27a8ed9c612 android.hardware.neuralnetworks@1.2::types
|
||||
ba84f3a750b1cc43ac51074e8b8e22df924f3e6d9068fac50d95bcf57b2b1d61 android.hardware.neuralnetworks@1.2::types
|
||||
9fe5a4093043c2b5da4e9491aed1646c388a5d3059b8fd77d5b6a9807e6d3a3e android.hardware.neuralnetworks@1.3::types
|
||||
e8c86c69c438da8d1549856c1bb3e2d1b8da52722f8235ff49a30f2cce91742c android.hardware.soundtrigger@2.1::ISoundTriggerHwCallback
|
||||
b9fbb6e2e061ed0960939d48b785e9700210add1f13ed32ecd688d0f1ca20ef7 android.hardware.renderscript@1.0::types
|
||||
|
||||
@@ -4711,14 +4711,14 @@ enum DeviceType : int32_t {
|
||||
// HAL equivalent of unknown type and a 1.2 HAL implementation must belong
|
||||
// to one of the categories below.
|
||||
/** The device does not fall into any category below. */
|
||||
OTHER = 1,
|
||||
OTHER = 1,
|
||||
/** The device runs NNAPI models on single or multi-core CPU. */
|
||||
CPU = 2,
|
||||
CPU = 2,
|
||||
/** The device can run NNAPI models and also accelerate graphics APIs such
|
||||
* as OpenGL ES and Vulkan. */
|
||||
GPU = 3,
|
||||
* as OpenGL ES and Vulkan. */
|
||||
GPU = 3,
|
||||
/** Dedicated accelerator for Machine Learning workloads. */
|
||||
ACCELERATOR = 4,
|
||||
ACCELERATOR = 4,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -5054,7 +5054,7 @@ struct OutputShape {
|
||||
* Specifies whether or not to measure timing information during execution.
|
||||
*/
|
||||
enum MeasureTiming : int32_t {
|
||||
NO = 0,
|
||||
NO = 0,
|
||||
YES = 1,
|
||||
};
|
||||
|
||||
|
||||
@@ -107,14 +107,14 @@ enum DeviceType : int32_t {
|
||||
// HAL equivalent of unknown type and a 1.2 HAL implementation must belong
|
||||
// to one of the categories below.
|
||||
/** The device does not fall into any category below. */
|
||||
OTHER = 1,
|
||||
OTHER = 1,
|
||||
/** The device runs NNAPI models on single or multi-core CPU. */
|
||||
CPU = 2,
|
||||
CPU = 2,
|
||||
/** The device can run NNAPI models and also accelerate graphics APIs such
|
||||
* as OpenGL ES and Vulkan. */
|
||||
GPU = 3,
|
||||
* as OpenGL ES and Vulkan. */
|
||||
GPU = 3,
|
||||
/** Dedicated accelerator for Machine Learning workloads. */
|
||||
ACCELERATOR = 4,
|
||||
ACCELERATOR = 4,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -450,7 +450,7 @@ struct OutputShape {
|
||||
* Specifies whether or not to measure timing information during execution.
|
||||
*/
|
||||
enum MeasureTiming : int32_t {
|
||||
NO = 0,
|
||||
NO = 0,
|
||||
YES = 1,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user