syntax = "proto3";

package tensorflow.tpu;

import "tensorflow/compiler/xla/service/hlo.proto";
import "tensorflow/core/protobuf/error_codes.proto";

option cc_enable_arenas = true;

// Describes the result of a TPU compilation. This is also used as TPU
// compilation result status payload.
message CompilationResultProto {
  // The error message, if any, returned during compilation.
  error.Code status_code = 1;
  string status_error_message = 2;

  // HLO proto.
  repeated xla.HloProto hlo_protos = 3;
}
