syntax = "proto2";

package oneflow.xrt;

enum XrtDevice {
  CPU_X86 = 1;
  GPU_CUDA = 2;
  GPU_CL = 3;
  CPU_ARM = 4;
  GPU_ARM = 5;
}

enum XrtEngine {
  DEFAULT = 1;
  XLA = 2;
  TENSORRT = 3;
  TVM = 4;
}

message XrtField {
  required XrtDevice device = 1;
  required XrtEngine engine = 2;
}
