You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
498 B
27 lines
498 B
4 months ago
|
syntax = "proto2";
|
||
|
|
||
|
package android.automotive.computepipe.proto;
|
||
|
|
||
|
message OffloadOption {
|
||
|
enum OffloadType {
|
||
|
CPU = 0;
|
||
|
GPU = 1;
|
||
|
NEURAL_ENGINE = 2;
|
||
|
CV_ENGINE = 3;
|
||
|
}
|
||
|
repeated OffloadType offload_types = 1;
|
||
|
|
||
|
/**
|
||
|
* 1:1 correspondence for each type above.
|
||
|
* Every offload engine has a flag describing if its virtual device
|
||
|
*/
|
||
|
repeated bool is_virtual = 2;
|
||
|
}
|
||
|
|
||
|
message OffloadConfig {
|
||
|
|
||
|
optional OffloadOption options = 1;
|
||
|
|
||
|
optional string config_id = 2;
|
||
|
}
|