1syntax = "proto2";
2
3package android.automotive.computepipe.proto;
4
5message OffloadOption {
6  enum OffloadType {
7    CPU = 0;
8    GPU = 1;
9    NEURAL_ENGINE = 2;
10    CV_ENGINE = 3;
11  }
12  repeated OffloadType offload_types = 1;
13
14  /**
15     * 1:1 correspondence for each type above.
16     * Every offload engine has a flag describing if its virtual device
17     */
18  repeated bool is_virtual = 2;
19}
20
21message OffloadConfig {
22
23    optional OffloadOption options = 1;
24
25    optional string config_id = 2;
26}
27