8617 lines
329 KiB
C++
8617 lines
329 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: tensorflow/compiler/xla/xla.proto
|
|
|
|
#ifndef PROTOBUF_INCLUDED_tensorflow_2fcompiler_2fxla_2fxla_2eproto
|
|
#define PROTOBUF_INCLUDED_tensorflow_2fcompiler_2fxla_2fxla_2eproto
|
|
|
|
#include <string>
|
|
|
|
#include <google/protobuf/stubs/common.h>
|
|
|
|
#if GOOGLE_PROTOBUF_VERSION < 3006000
|
|
#error This file was generated by a newer version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please update
|
|
#error your headers.
|
|
#endif
|
|
#if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
|
|
#error This file was generated by an older version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please
|
|
#error regenerate this file with a newer version of protoc.
|
|
#endif
|
|
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
#include <google/protobuf/arena.h>
|
|
#include <google/protobuf/arenastring.h>
|
|
#include <google/protobuf/generated_message_table_driven.h>
|
|
#include <google/protobuf/generated_message_util.h>
|
|
#include <google/protobuf/inlined_string_field.h>
|
|
#include <google/protobuf/metadata.h>
|
|
#include <google/protobuf/message.h>
|
|
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
|
|
#include <google/protobuf/extension_set.h> // IWYU pragma: export
|
|
#include <google/protobuf/map.h> // IWYU pragma: export
|
|
#include <google/protobuf/map_entry.h>
|
|
#include <google/protobuf/map_field_inl.h>
|
|
#include <google/protobuf/generated_enum_reflection.h>
|
|
#include <google/protobuf/unknown_field_set.h>
|
|
#include "tensorflow/compiler/xla/xla_data.pb.h"
|
|
#include "tensorflow/compiler/xla/service/hlo.pb.h"
|
|
// @@protoc_insertion_point(includes)
|
|
#define PROTOBUF_INTERNAL_EXPORT_protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto
|
|
|
|
namespace protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto {
|
|
// Internal implementation detail -- do not use these members.
|
|
struct TableStruct {
|
|
static const ::google::protobuf::internal::ParseTableField entries[];
|
|
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
|
|
static const ::google::protobuf::internal::ParseTable schema[38];
|
|
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
|
|
static const ::google::protobuf::internal::SerializationTable serialization_table[];
|
|
static const ::google::protobuf::uint32 offsets[];
|
|
};
|
|
void AddDescriptors();
|
|
} // namespace protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto
|
|
namespace xla {
|
|
class ComputationGraphStatsRequest;
|
|
class ComputationGraphStatsRequestDefaultTypeInternal;
|
|
extern ComputationGraphStatsRequestDefaultTypeInternal _ComputationGraphStatsRequest_default_instance_;
|
|
class ComputationStatsResponse;
|
|
class ComputationStatsResponseDefaultTypeInternal;
|
|
extern ComputationStatsResponseDefaultTypeInternal _ComputationStatsResponse_default_instance_;
|
|
class ComputeConstantGraphRequest;
|
|
class ComputeConstantGraphRequestDefaultTypeInternal;
|
|
extern ComputeConstantGraphRequestDefaultTypeInternal _ComputeConstantGraphRequest_default_instance_;
|
|
class ComputeConstantResponse;
|
|
class ComputeConstantResponseDefaultTypeInternal;
|
|
extern ComputeConstantResponseDefaultTypeInternal _ComputeConstantResponse_default_instance_;
|
|
class CreateChannelHandleRequest;
|
|
class CreateChannelHandleRequestDefaultTypeInternal;
|
|
extern CreateChannelHandleRequestDefaultTypeInternal _CreateChannelHandleRequest_default_instance_;
|
|
class CreateChannelHandleResponse;
|
|
class CreateChannelHandleResponseDefaultTypeInternal;
|
|
extern CreateChannelHandleResponseDefaultTypeInternal _CreateChannelHandleResponse_default_instance_;
|
|
class DebugOptions;
|
|
class DebugOptionsDefaultTypeInternal;
|
|
extern DebugOptionsDefaultTypeInternal _DebugOptions_default_instance_;
|
|
class DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse;
|
|
class DebugOptions_XlaBackendExtraOptionsEntry_DoNotUseDefaultTypeInternal;
|
|
extern DebugOptions_XlaBackendExtraOptionsEntry_DoNotUseDefaultTypeInternal _DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse_default_instance_;
|
|
class DeconstructTupleRequest;
|
|
class DeconstructTupleRequestDefaultTypeInternal;
|
|
extern DeconstructTupleRequestDefaultTypeInternal _DeconstructTupleRequest_default_instance_;
|
|
class DeconstructTupleResponse;
|
|
class DeconstructTupleResponseDefaultTypeInternal;
|
|
extern DeconstructTupleResponseDefaultTypeInternal _DeconstructTupleResponse_default_instance_;
|
|
class ExecuteGraphParallelRequest;
|
|
class ExecuteGraphParallelRequestDefaultTypeInternal;
|
|
extern ExecuteGraphParallelRequestDefaultTypeInternal _ExecuteGraphParallelRequest_default_instance_;
|
|
class ExecuteGraphRequest;
|
|
class ExecuteGraphRequestDefaultTypeInternal;
|
|
extern ExecuteGraphRequestDefaultTypeInternal _ExecuteGraphRequest_default_instance_;
|
|
class ExecuteParallelResponse;
|
|
class ExecuteParallelResponseDefaultTypeInternal;
|
|
extern ExecuteParallelResponseDefaultTypeInternal _ExecuteParallelResponse_default_instance_;
|
|
class ExecuteResponse;
|
|
class ExecuteResponseDefaultTypeInternal;
|
|
extern ExecuteResponseDefaultTypeInternal _ExecuteResponse_default_instance_;
|
|
class ExecutionOptions;
|
|
class ExecutionOptionsDefaultTypeInternal;
|
|
extern ExecutionOptionsDefaultTypeInternal _ExecutionOptions_default_instance_;
|
|
class GetDeviceHandlesRequest;
|
|
class GetDeviceHandlesRequestDefaultTypeInternal;
|
|
extern GetDeviceHandlesRequestDefaultTypeInternal _GetDeviceHandlesRequest_default_instance_;
|
|
class GetDeviceHandlesResponse;
|
|
class GetDeviceHandlesResponseDefaultTypeInternal;
|
|
extern GetDeviceHandlesResponseDefaultTypeInternal _GetDeviceHandlesResponse_default_instance_;
|
|
class GetShapeRequest;
|
|
class GetShapeRequestDefaultTypeInternal;
|
|
extern GetShapeRequestDefaultTypeInternal _GetShapeRequest_default_instance_;
|
|
class GetShapeResponse;
|
|
class GetShapeResponseDefaultTypeInternal;
|
|
extern GetShapeResponseDefaultTypeInternal _GetShapeResponse_default_instance_;
|
|
class HloReducePrecisionOptions;
|
|
class HloReducePrecisionOptionsDefaultTypeInternal;
|
|
extern HloReducePrecisionOptionsDefaultTypeInternal _HloReducePrecisionOptions_default_instance_;
|
|
class LoadDataRequest;
|
|
class LoadDataRequestDefaultTypeInternal;
|
|
extern LoadDataRequestDefaultTypeInternal _LoadDataRequest_default_instance_;
|
|
class LoadDataResponse;
|
|
class LoadDataResponseDefaultTypeInternal;
|
|
extern LoadDataResponseDefaultTypeInternal _LoadDataResponse_default_instance_;
|
|
class ResetDeviceRequest;
|
|
class ResetDeviceRequestDefaultTypeInternal;
|
|
extern ResetDeviceRequestDefaultTypeInternal _ResetDeviceRequest_default_instance_;
|
|
class ResetDeviceResponse;
|
|
class ResetDeviceResponseDefaultTypeInternal;
|
|
extern ResetDeviceResponseDefaultTypeInternal _ResetDeviceResponse_default_instance_;
|
|
class TransferFromOutfeedRequest;
|
|
class TransferFromOutfeedRequestDefaultTypeInternal;
|
|
extern TransferFromOutfeedRequestDefaultTypeInternal _TransferFromOutfeedRequest_default_instance_;
|
|
class TransferFromOutfeedResponse;
|
|
class TransferFromOutfeedResponseDefaultTypeInternal;
|
|
extern TransferFromOutfeedResponseDefaultTypeInternal _TransferFromOutfeedResponse_default_instance_;
|
|
class TransferToClientRequest;
|
|
class TransferToClientRequestDefaultTypeInternal;
|
|
extern TransferToClientRequestDefaultTypeInternal _TransferToClientRequest_default_instance_;
|
|
class TransferToClientResponse;
|
|
class TransferToClientResponseDefaultTypeInternal;
|
|
extern TransferToClientResponseDefaultTypeInternal _TransferToClientResponse_default_instance_;
|
|
class TransferToInfeedRequest;
|
|
class TransferToInfeedRequestDefaultTypeInternal;
|
|
extern TransferToInfeedRequestDefaultTypeInternal _TransferToInfeedRequest_default_instance_;
|
|
class TransferToInfeedResponse;
|
|
class TransferToInfeedResponseDefaultTypeInternal;
|
|
extern TransferToInfeedResponseDefaultTypeInternal _TransferToInfeedResponse_default_instance_;
|
|
class TransferToServerRequest;
|
|
class TransferToServerRequestDefaultTypeInternal;
|
|
extern TransferToServerRequestDefaultTypeInternal _TransferToServerRequest_default_instance_;
|
|
class TransferToServerResponse;
|
|
class TransferToServerResponseDefaultTypeInternal;
|
|
extern TransferToServerResponseDefaultTypeInternal _TransferToServerResponse_default_instance_;
|
|
class UnpackRequest;
|
|
class UnpackRequestDefaultTypeInternal;
|
|
extern UnpackRequestDefaultTypeInternal _UnpackRequest_default_instance_;
|
|
class UnpackResponse;
|
|
class UnpackResponseDefaultTypeInternal;
|
|
extern UnpackResponseDefaultTypeInternal _UnpackResponse_default_instance_;
|
|
class UnregisterRequest;
|
|
class UnregisterRequestDefaultTypeInternal;
|
|
extern UnregisterRequestDefaultTypeInternal _UnregisterRequest_default_instance_;
|
|
class UnregisterResponse;
|
|
class UnregisterResponseDefaultTypeInternal;
|
|
extern UnregisterResponseDefaultTypeInternal _UnregisterResponse_default_instance_;
|
|
class WaitForExecutionRequest;
|
|
class WaitForExecutionRequestDefaultTypeInternal;
|
|
extern WaitForExecutionRequestDefaultTypeInternal _WaitForExecutionRequest_default_instance_;
|
|
class WaitForExecutionResponse;
|
|
class WaitForExecutionResponseDefaultTypeInternal;
|
|
extern WaitForExecutionResponseDefaultTypeInternal _WaitForExecutionResponse_default_instance_;
|
|
} // namespace xla
|
|
namespace google {
|
|
namespace protobuf {
|
|
template<> ::xla::ComputationGraphStatsRequest* Arena::CreateMaybeMessage<::xla::ComputationGraphStatsRequest>(Arena*);
|
|
template<> ::xla::ComputationStatsResponse* Arena::CreateMaybeMessage<::xla::ComputationStatsResponse>(Arena*);
|
|
template<> ::xla::ComputeConstantGraphRequest* Arena::CreateMaybeMessage<::xla::ComputeConstantGraphRequest>(Arena*);
|
|
template<> ::xla::ComputeConstantResponse* Arena::CreateMaybeMessage<::xla::ComputeConstantResponse>(Arena*);
|
|
template<> ::xla::CreateChannelHandleRequest* Arena::CreateMaybeMessage<::xla::CreateChannelHandleRequest>(Arena*);
|
|
template<> ::xla::CreateChannelHandleResponse* Arena::CreateMaybeMessage<::xla::CreateChannelHandleResponse>(Arena*);
|
|
template<> ::xla::DebugOptions* Arena::CreateMaybeMessage<::xla::DebugOptions>(Arena*);
|
|
template<> ::xla::DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::xla::DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse>(Arena*);
|
|
template<> ::xla::DeconstructTupleRequest* Arena::CreateMaybeMessage<::xla::DeconstructTupleRequest>(Arena*);
|
|
template<> ::xla::DeconstructTupleResponse* Arena::CreateMaybeMessage<::xla::DeconstructTupleResponse>(Arena*);
|
|
template<> ::xla::ExecuteGraphParallelRequest* Arena::CreateMaybeMessage<::xla::ExecuteGraphParallelRequest>(Arena*);
|
|
template<> ::xla::ExecuteGraphRequest* Arena::CreateMaybeMessage<::xla::ExecuteGraphRequest>(Arena*);
|
|
template<> ::xla::ExecuteParallelResponse* Arena::CreateMaybeMessage<::xla::ExecuteParallelResponse>(Arena*);
|
|
template<> ::xla::ExecuteResponse* Arena::CreateMaybeMessage<::xla::ExecuteResponse>(Arena*);
|
|
template<> ::xla::ExecutionOptions* Arena::CreateMaybeMessage<::xla::ExecutionOptions>(Arena*);
|
|
template<> ::xla::GetDeviceHandlesRequest* Arena::CreateMaybeMessage<::xla::GetDeviceHandlesRequest>(Arena*);
|
|
template<> ::xla::GetDeviceHandlesResponse* Arena::CreateMaybeMessage<::xla::GetDeviceHandlesResponse>(Arena*);
|
|
template<> ::xla::GetShapeRequest* Arena::CreateMaybeMessage<::xla::GetShapeRequest>(Arena*);
|
|
template<> ::xla::GetShapeResponse* Arena::CreateMaybeMessage<::xla::GetShapeResponse>(Arena*);
|
|
template<> ::xla::HloReducePrecisionOptions* Arena::CreateMaybeMessage<::xla::HloReducePrecisionOptions>(Arena*);
|
|
template<> ::xla::LoadDataRequest* Arena::CreateMaybeMessage<::xla::LoadDataRequest>(Arena*);
|
|
template<> ::xla::LoadDataResponse* Arena::CreateMaybeMessage<::xla::LoadDataResponse>(Arena*);
|
|
template<> ::xla::ResetDeviceRequest* Arena::CreateMaybeMessage<::xla::ResetDeviceRequest>(Arena*);
|
|
template<> ::xla::ResetDeviceResponse* Arena::CreateMaybeMessage<::xla::ResetDeviceResponse>(Arena*);
|
|
template<> ::xla::TransferFromOutfeedRequest* Arena::CreateMaybeMessage<::xla::TransferFromOutfeedRequest>(Arena*);
|
|
template<> ::xla::TransferFromOutfeedResponse* Arena::CreateMaybeMessage<::xla::TransferFromOutfeedResponse>(Arena*);
|
|
template<> ::xla::TransferToClientRequest* Arena::CreateMaybeMessage<::xla::TransferToClientRequest>(Arena*);
|
|
template<> ::xla::TransferToClientResponse* Arena::CreateMaybeMessage<::xla::TransferToClientResponse>(Arena*);
|
|
template<> ::xla::TransferToInfeedRequest* Arena::CreateMaybeMessage<::xla::TransferToInfeedRequest>(Arena*);
|
|
template<> ::xla::TransferToInfeedResponse* Arena::CreateMaybeMessage<::xla::TransferToInfeedResponse>(Arena*);
|
|
template<> ::xla::TransferToServerRequest* Arena::CreateMaybeMessage<::xla::TransferToServerRequest>(Arena*);
|
|
template<> ::xla::TransferToServerResponse* Arena::CreateMaybeMessage<::xla::TransferToServerResponse>(Arena*);
|
|
template<> ::xla::UnpackRequest* Arena::CreateMaybeMessage<::xla::UnpackRequest>(Arena*);
|
|
template<> ::xla::UnpackResponse* Arena::CreateMaybeMessage<::xla::UnpackResponse>(Arena*);
|
|
template<> ::xla::UnregisterRequest* Arena::CreateMaybeMessage<::xla::UnregisterRequest>(Arena*);
|
|
template<> ::xla::UnregisterResponse* Arena::CreateMaybeMessage<::xla::UnregisterResponse>(Arena*);
|
|
template<> ::xla::WaitForExecutionRequest* Arena::CreateMaybeMessage<::xla::WaitForExecutionRequest>(Arena*);
|
|
template<> ::xla::WaitForExecutionResponse* Arena::CreateMaybeMessage<::xla::WaitForExecutionResponse>(Arena*);
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
namespace xla {
|
|
|
|
enum HloReducePrecisionOptions_Location {
|
|
HloReducePrecisionOptions_Location_OP_INPUTS = 0,
|
|
HloReducePrecisionOptions_Location_OP_OUTPUTS = 1,
|
|
HloReducePrecisionOptions_Location_UNFUSED_OP_OUTPUTS = 2,
|
|
HloReducePrecisionOptions_Location_FUSION_INPUTS_BY_CONTENT = 3,
|
|
HloReducePrecisionOptions_Location_FUSION_OUTPUTS_BY_CONTENT = 4,
|
|
HloReducePrecisionOptions_Location_HloReducePrecisionOptions_Location_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
|
|
HloReducePrecisionOptions_Location_HloReducePrecisionOptions_Location_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
|
|
};
|
|
bool HloReducePrecisionOptions_Location_IsValid(int value);
|
|
const HloReducePrecisionOptions_Location HloReducePrecisionOptions_Location_Location_MIN = HloReducePrecisionOptions_Location_OP_INPUTS;
|
|
const HloReducePrecisionOptions_Location HloReducePrecisionOptions_Location_Location_MAX = HloReducePrecisionOptions_Location_FUSION_OUTPUTS_BY_CONTENT;
|
|
const int HloReducePrecisionOptions_Location_Location_ARRAYSIZE = HloReducePrecisionOptions_Location_Location_MAX + 1;
|
|
|
|
const ::google::protobuf::EnumDescriptor* HloReducePrecisionOptions_Location_descriptor();
|
|
inline const ::std::string& HloReducePrecisionOptions_Location_Name(HloReducePrecisionOptions_Location value) {
|
|
return ::google::protobuf::internal::NameOfEnum(
|
|
HloReducePrecisionOptions_Location_descriptor(), value);
|
|
}
|
|
inline bool HloReducePrecisionOptions_Location_Parse(
|
|
const ::std::string& name, HloReducePrecisionOptions_Location* value) {
|
|
return ::google::protobuf::internal::ParseNamedEnum<HloReducePrecisionOptions_Location>(
|
|
HloReducePrecisionOptions_Location_descriptor(), name, value);
|
|
}
|
|
// ===================================================================
|
|
|
|
class HloReducePrecisionOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.HloReducePrecisionOptions) */ {
|
|
public:
|
|
HloReducePrecisionOptions();
|
|
virtual ~HloReducePrecisionOptions();
|
|
|
|
HloReducePrecisionOptions(const HloReducePrecisionOptions& from);
|
|
|
|
inline HloReducePrecisionOptions& operator=(const HloReducePrecisionOptions& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
HloReducePrecisionOptions(HloReducePrecisionOptions&& from) noexcept
|
|
: HloReducePrecisionOptions() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline HloReducePrecisionOptions& operator=(HloReducePrecisionOptions&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const HloReducePrecisionOptions& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const HloReducePrecisionOptions* internal_default_instance() {
|
|
return reinterpret_cast<const HloReducePrecisionOptions*>(
|
|
&_HloReducePrecisionOptions_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
0;
|
|
|
|
void Swap(HloReducePrecisionOptions* other);
|
|
friend void swap(HloReducePrecisionOptions& a, HloReducePrecisionOptions& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline HloReducePrecisionOptions* New() const final {
|
|
return CreateMaybeMessage<HloReducePrecisionOptions>(NULL);
|
|
}
|
|
|
|
HloReducePrecisionOptions* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<HloReducePrecisionOptions>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const HloReducePrecisionOptions& from);
|
|
void MergeFrom(const HloReducePrecisionOptions& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(HloReducePrecisionOptions* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
typedef HloReducePrecisionOptions_Location Location;
|
|
static const Location OP_INPUTS =
|
|
HloReducePrecisionOptions_Location_OP_INPUTS;
|
|
static const Location OP_OUTPUTS =
|
|
HloReducePrecisionOptions_Location_OP_OUTPUTS;
|
|
static const Location UNFUSED_OP_OUTPUTS =
|
|
HloReducePrecisionOptions_Location_UNFUSED_OP_OUTPUTS;
|
|
static const Location FUSION_INPUTS_BY_CONTENT =
|
|
HloReducePrecisionOptions_Location_FUSION_INPUTS_BY_CONTENT;
|
|
static const Location FUSION_OUTPUTS_BY_CONTENT =
|
|
HloReducePrecisionOptions_Location_FUSION_OUTPUTS_BY_CONTENT;
|
|
static inline bool Location_IsValid(int value) {
|
|
return HloReducePrecisionOptions_Location_IsValid(value);
|
|
}
|
|
static const Location Location_MIN =
|
|
HloReducePrecisionOptions_Location_Location_MIN;
|
|
static const Location Location_MAX =
|
|
HloReducePrecisionOptions_Location_Location_MAX;
|
|
static const int Location_ARRAYSIZE =
|
|
HloReducePrecisionOptions_Location_Location_ARRAYSIZE;
|
|
static inline const ::google::protobuf::EnumDescriptor*
|
|
Location_descriptor() {
|
|
return HloReducePrecisionOptions_Location_descriptor();
|
|
}
|
|
static inline const ::std::string& Location_Name(Location value) {
|
|
return HloReducePrecisionOptions_Location_Name(value);
|
|
}
|
|
static inline bool Location_Parse(const ::std::string& name,
|
|
Location* value) {
|
|
return HloReducePrecisionOptions_Location_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated uint32 opcodes_to_suffix = 4;
|
|
int opcodes_to_suffix_size() const;
|
|
void clear_opcodes_to_suffix();
|
|
static const int kOpcodesToSuffixFieldNumber = 4;
|
|
::google::protobuf::uint32 opcodes_to_suffix(int index) const;
|
|
void set_opcodes_to_suffix(int index, ::google::protobuf::uint32 value);
|
|
void add_opcodes_to_suffix(::google::protobuf::uint32 value);
|
|
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
|
opcodes_to_suffix() const;
|
|
::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
|
mutable_opcodes_to_suffix();
|
|
|
|
// repeated string opname_substrings_to_suffix = 5;
|
|
int opname_substrings_to_suffix_size() const;
|
|
void clear_opname_substrings_to_suffix();
|
|
static const int kOpnameSubstringsToSuffixFieldNumber = 5;
|
|
const ::std::string& opname_substrings_to_suffix(int index) const;
|
|
::std::string* mutable_opname_substrings_to_suffix(int index);
|
|
void set_opname_substrings_to_suffix(int index, const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_opname_substrings_to_suffix(int index, ::std::string&& value);
|
|
#endif
|
|
void set_opname_substrings_to_suffix(int index, const char* value);
|
|
void set_opname_substrings_to_suffix(int index, const char* value, size_t size);
|
|
::std::string* add_opname_substrings_to_suffix();
|
|
void add_opname_substrings_to_suffix(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void add_opname_substrings_to_suffix(::std::string&& value);
|
|
#endif
|
|
void add_opname_substrings_to_suffix(const char* value);
|
|
void add_opname_substrings_to_suffix(const char* value, size_t size);
|
|
const ::google::protobuf::RepeatedPtrField< ::std::string>& opname_substrings_to_suffix() const;
|
|
::google::protobuf::RepeatedPtrField< ::std::string>* mutable_opname_substrings_to_suffix();
|
|
|
|
// .xla.HloReducePrecisionOptions.Location location = 1;
|
|
void clear_location();
|
|
static const int kLocationFieldNumber = 1;
|
|
::xla::HloReducePrecisionOptions_Location location() const;
|
|
void set_location(::xla::HloReducePrecisionOptions_Location value);
|
|
|
|
// uint32 exponent_bits = 2;
|
|
void clear_exponent_bits();
|
|
static const int kExponentBitsFieldNumber = 2;
|
|
::google::protobuf::uint32 exponent_bits() const;
|
|
void set_exponent_bits(::google::protobuf::uint32 value);
|
|
|
|
// uint32 mantissa_bits = 3;
|
|
void clear_mantissa_bits();
|
|
static const int kMantissaBitsFieldNumber = 3;
|
|
::google::protobuf::uint32 mantissa_bits() const;
|
|
void set_mantissa_bits(::google::protobuf::uint32 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.HloReducePrecisionOptions)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > opcodes_to_suffix_;
|
|
mutable int _opcodes_to_suffix_cached_byte_size_;
|
|
::google::protobuf::RepeatedPtrField< ::std::string> opname_substrings_to_suffix_;
|
|
int location_;
|
|
::google::protobuf::uint32 exponent_bits_;
|
|
::google::protobuf::uint32 mantissa_bits_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse,
|
|
::std::string, ::std::string,
|
|
::google::protobuf::internal::WireFormatLite::TYPE_STRING,
|
|
::google::protobuf::internal::WireFormatLite::TYPE_STRING,
|
|
0 > {
|
|
public:
|
|
typedef ::google::protobuf::internal::MapEntry<DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse,
|
|
::std::string, ::std::string,
|
|
::google::protobuf::internal::WireFormatLite::TYPE_STRING,
|
|
::google::protobuf::internal::WireFormatLite::TYPE_STRING,
|
|
0 > SuperType;
|
|
DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse();
|
|
DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse(::google::protobuf::Arena* arena);
|
|
void MergeFrom(const DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse& other);
|
|
static const DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse*>(&_DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse_default_instance_); }
|
|
void MergeFrom(const ::google::protobuf::Message& other) final;
|
|
::google::protobuf::Metadata GetMetadata() const;
|
|
};
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
class DebugOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.DebugOptions) */ {
|
|
public:
|
|
DebugOptions();
|
|
virtual ~DebugOptions();
|
|
|
|
DebugOptions(const DebugOptions& from);
|
|
|
|
inline DebugOptions& operator=(const DebugOptions& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
DebugOptions(DebugOptions&& from) noexcept
|
|
: DebugOptions() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DebugOptions& operator=(DebugOptions&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const DebugOptions& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DebugOptions* internal_default_instance() {
|
|
return reinterpret_cast<const DebugOptions*>(
|
|
&_DebugOptions_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
2;
|
|
|
|
void Swap(DebugOptions* other);
|
|
friend void swap(DebugOptions& a, DebugOptions& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DebugOptions* New() const final {
|
|
return CreateMaybeMessage<DebugOptions>(NULL);
|
|
}
|
|
|
|
DebugOptions* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<DebugOptions>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const DebugOptions& from);
|
|
void MergeFrom(const DebugOptions& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DebugOptions* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated string xla_disable_hlo_passes = 30;
|
|
int xla_disable_hlo_passes_size() const;
|
|
void clear_xla_disable_hlo_passes();
|
|
static const int kXlaDisableHloPassesFieldNumber = 30;
|
|
const ::std::string& xla_disable_hlo_passes(int index) const;
|
|
::std::string* mutable_xla_disable_hlo_passes(int index);
|
|
void set_xla_disable_hlo_passes(int index, const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_disable_hlo_passes(int index, ::std::string&& value);
|
|
#endif
|
|
void set_xla_disable_hlo_passes(int index, const char* value);
|
|
void set_xla_disable_hlo_passes(int index, const char* value, size_t size);
|
|
::std::string* add_xla_disable_hlo_passes();
|
|
void add_xla_disable_hlo_passes(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void add_xla_disable_hlo_passes(::std::string&& value);
|
|
#endif
|
|
void add_xla_disable_hlo_passes(const char* value);
|
|
void add_xla_disable_hlo_passes(const char* value, size_t size);
|
|
const ::google::protobuf::RepeatedPtrField< ::std::string>& xla_disable_hlo_passes() const;
|
|
::google::protobuf::RepeatedPtrField< ::std::string>* mutable_xla_disable_hlo_passes();
|
|
|
|
// repeated .xla.HloReducePrecisionOptions hlo_reduce_precision_options = 80;
|
|
int hlo_reduce_precision_options_size() const;
|
|
void clear_hlo_reduce_precision_options();
|
|
static const int kHloReducePrecisionOptionsFieldNumber = 80;
|
|
::xla::HloReducePrecisionOptions* mutable_hlo_reduce_precision_options(int index);
|
|
::google::protobuf::RepeatedPtrField< ::xla::HloReducePrecisionOptions >*
|
|
mutable_hlo_reduce_precision_options();
|
|
const ::xla::HloReducePrecisionOptions& hlo_reduce_precision_options(int index) const;
|
|
::xla::HloReducePrecisionOptions* add_hlo_reduce_precision_options();
|
|
const ::google::protobuf::RepeatedPtrField< ::xla::HloReducePrecisionOptions >&
|
|
hlo_reduce_precision_options() const;
|
|
|
|
// map<string, string> xla_backend_extra_options = 500;
|
|
int xla_backend_extra_options_size() const;
|
|
void clear_xla_backend_extra_options();
|
|
static const int kXlaBackendExtraOptionsFieldNumber = 500;
|
|
const ::google::protobuf::Map< ::std::string, ::std::string >&
|
|
xla_backend_extra_options() const;
|
|
::google::protobuf::Map< ::std::string, ::std::string >*
|
|
mutable_xla_backend_extra_options();
|
|
|
|
// string xla_generate_hlo_graph = 1;
|
|
void clear_xla_generate_hlo_graph();
|
|
static const int kXlaGenerateHloGraphFieldNumber = 1;
|
|
const ::std::string& xla_generate_hlo_graph() const;
|
|
void set_xla_generate_hlo_graph(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_generate_hlo_graph(::std::string&& value);
|
|
#endif
|
|
void set_xla_generate_hlo_graph(const char* value);
|
|
void set_xla_generate_hlo_graph(const char* value, size_t size);
|
|
::std::string* mutable_xla_generate_hlo_graph();
|
|
::std::string* release_xla_generate_hlo_graph();
|
|
void set_allocated_xla_generate_hlo_graph(::std::string* xla_generate_hlo_graph);
|
|
|
|
// string xla_hlo_graph_path = 4;
|
|
void clear_xla_hlo_graph_path();
|
|
static const int kXlaHloGraphPathFieldNumber = 4;
|
|
const ::std::string& xla_hlo_graph_path() const;
|
|
void set_xla_hlo_graph_path(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_hlo_graph_path(::std::string&& value);
|
|
#endif
|
|
void set_xla_hlo_graph_path(const char* value);
|
|
void set_xla_hlo_graph_path(const char* value, size_t size);
|
|
::std::string* mutable_xla_hlo_graph_path();
|
|
::std::string* release_xla_hlo_graph_path();
|
|
void set_allocated_xla_hlo_graph_path(::std::string* xla_hlo_graph_path);
|
|
|
|
// string xla_log_hlo_text = 6;
|
|
void clear_xla_log_hlo_text();
|
|
static const int kXlaLogHloTextFieldNumber = 6;
|
|
const ::std::string& xla_log_hlo_text() const;
|
|
void set_xla_log_hlo_text(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_log_hlo_text(::std::string&& value);
|
|
#endif
|
|
void set_xla_log_hlo_text(const char* value);
|
|
void set_xla_log_hlo_text(const char* value, size_t size);
|
|
::std::string* mutable_xla_log_hlo_text();
|
|
::std::string* release_xla_log_hlo_text();
|
|
void set_allocated_xla_log_hlo_text(::std::string* xla_log_hlo_text);
|
|
|
|
// string xla_generate_hlo_text_to = 7;
|
|
void clear_xla_generate_hlo_text_to();
|
|
static const int kXlaGenerateHloTextToFieldNumber = 7;
|
|
const ::std::string& xla_generate_hlo_text_to() const;
|
|
void set_xla_generate_hlo_text_to(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_generate_hlo_text_to(::std::string&& value);
|
|
#endif
|
|
void set_xla_generate_hlo_text_to(const char* value);
|
|
void set_xla_generate_hlo_text_to(const char* value, size_t size);
|
|
::std::string* mutable_xla_generate_hlo_text_to();
|
|
::std::string* release_xla_generate_hlo_text_to();
|
|
void set_allocated_xla_generate_hlo_text_to(::std::string* xla_generate_hlo_text_to);
|
|
|
|
// string xla_dump_optimized_hlo_proto_to = 8;
|
|
void clear_xla_dump_optimized_hlo_proto_to();
|
|
static const int kXlaDumpOptimizedHloProtoToFieldNumber = 8;
|
|
const ::std::string& xla_dump_optimized_hlo_proto_to() const;
|
|
void set_xla_dump_optimized_hlo_proto_to(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_dump_optimized_hlo_proto_to(::std::string&& value);
|
|
#endif
|
|
void set_xla_dump_optimized_hlo_proto_to(const char* value);
|
|
void set_xla_dump_optimized_hlo_proto_to(const char* value, size_t size);
|
|
::std::string* mutable_xla_dump_optimized_hlo_proto_to();
|
|
::std::string* release_xla_dump_optimized_hlo_proto_to();
|
|
void set_allocated_xla_dump_optimized_hlo_proto_to(::std::string* xla_dump_optimized_hlo_proto_to);
|
|
|
|
// string xla_dump_computations_to = 10;
|
|
void clear_xla_dump_computations_to();
|
|
static const int kXlaDumpComputationsToFieldNumber = 10;
|
|
const ::std::string& xla_dump_computations_to() const;
|
|
void set_xla_dump_computations_to(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_dump_computations_to(::std::string&& value);
|
|
#endif
|
|
void set_xla_dump_computations_to(const char* value);
|
|
void set_xla_dump_computations_to(const char* value, size_t size);
|
|
::std::string* mutable_xla_dump_computations_to();
|
|
::std::string* release_xla_dump_computations_to();
|
|
void set_allocated_xla_dump_computations_to(::std::string* xla_dump_computations_to);
|
|
|
|
// string xla_dump_executions_to = 11;
|
|
void clear_xla_dump_executions_to();
|
|
static const int kXlaDumpExecutionsToFieldNumber = 11;
|
|
const ::std::string& xla_dump_executions_to() const;
|
|
void set_xla_dump_executions_to(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_dump_executions_to(::std::string&& value);
|
|
#endif
|
|
void set_xla_dump_executions_to(const char* value);
|
|
void set_xla_dump_executions_to(const char* value, size_t size);
|
|
::std::string* mutable_xla_dump_executions_to();
|
|
::std::string* release_xla_dump_executions_to();
|
|
void set_allocated_xla_dump_executions_to(::std::string* xla_dump_executions_to);
|
|
|
|
// string xla_dump_ir_to = 34;
|
|
void clear_xla_dump_ir_to();
|
|
static const int kXlaDumpIrToFieldNumber = 34;
|
|
const ::std::string& xla_dump_ir_to() const;
|
|
void set_xla_dump_ir_to(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_dump_ir_to(::std::string&& value);
|
|
#endif
|
|
void set_xla_dump_ir_to(const char* value);
|
|
void set_xla_dump_ir_to(const char* value, size_t size);
|
|
::std::string* mutable_xla_dump_ir_to();
|
|
::std::string* release_xla_dump_ir_to();
|
|
void set_allocated_xla_dump_ir_to(::std::string* xla_dump_ir_to);
|
|
|
|
// string xla_gpu_cuda_data_dir = 61;
|
|
void clear_xla_gpu_cuda_data_dir();
|
|
static const int kXlaGpuCudaDataDirFieldNumber = 61;
|
|
const ::std::string& xla_gpu_cuda_data_dir() const;
|
|
void set_xla_gpu_cuda_data_dir(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_gpu_cuda_data_dir(::std::string&& value);
|
|
#endif
|
|
void set_xla_gpu_cuda_data_dir(const char* value);
|
|
void set_xla_gpu_cuda_data_dir(const char* value, size_t size);
|
|
::std::string* mutable_xla_gpu_cuda_data_dir();
|
|
::std::string* release_xla_gpu_cuda_data_dir();
|
|
void set_allocated_xla_gpu_cuda_data_dir(::std::string* xla_gpu_cuda_data_dir);
|
|
|
|
// string xla_dump_unoptimized_hlo_proto_to = 95;
|
|
void clear_xla_dump_unoptimized_hlo_proto_to();
|
|
static const int kXlaDumpUnoptimizedHloProtoToFieldNumber = 95;
|
|
const ::std::string& xla_dump_unoptimized_hlo_proto_to() const;
|
|
void set_xla_dump_unoptimized_hlo_proto_to(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_dump_unoptimized_hlo_proto_to(::std::string&& value);
|
|
#endif
|
|
void set_xla_dump_unoptimized_hlo_proto_to(const char* value);
|
|
void set_xla_dump_unoptimized_hlo_proto_to(const char* value, size_t size);
|
|
::std::string* mutable_xla_dump_unoptimized_hlo_proto_to();
|
|
::std::string* release_xla_dump_unoptimized_hlo_proto_to();
|
|
void set_allocated_xla_dump_unoptimized_hlo_proto_to(::std::string* xla_dump_unoptimized_hlo_proto_to);
|
|
|
|
// string xla_dump_per_pass_hlo_proto_to = 96;
|
|
void clear_xla_dump_per_pass_hlo_proto_to();
|
|
static const int kXlaDumpPerPassHloProtoToFieldNumber = 96;
|
|
const ::std::string& xla_dump_per_pass_hlo_proto_to() const;
|
|
void set_xla_dump_per_pass_hlo_proto_to(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_xla_dump_per_pass_hlo_proto_to(::std::string&& value);
|
|
#endif
|
|
void set_xla_dump_per_pass_hlo_proto_to(const char* value);
|
|
void set_xla_dump_per_pass_hlo_proto_to(const char* value, size_t size);
|
|
::std::string* mutable_xla_dump_per_pass_hlo_proto_to();
|
|
::std::string* release_xla_dump_per_pass_hlo_proto_to();
|
|
void set_allocated_xla_dump_per_pass_hlo_proto_to(::std::string* xla_dump_per_pass_hlo_proto_to);
|
|
|
|
// bool xla_hlo_graph_addresses = 2;
|
|
void clear_xla_hlo_graph_addresses();
|
|
static const int kXlaHloGraphAddressesFieldNumber = 2;
|
|
bool xla_hlo_graph_addresses() const;
|
|
void set_xla_hlo_graph_addresses(bool value);
|
|
|
|
// bool xla_hlo_dump_as_graphdef = 5;
|
|
void clear_xla_hlo_dump_as_graphdef();
|
|
static const int kXlaHloDumpAsGraphdefFieldNumber = 5;
|
|
bool xla_hlo_dump_as_graphdef() const;
|
|
void set_xla_hlo_dump_as_graphdef(bool value);
|
|
|
|
// bool xla_hlo_profile = 9;
|
|
void clear_xla_hlo_profile();
|
|
static const int kXlaHloProfileFieldNumber = 9;
|
|
bool xla_hlo_profile() const;
|
|
void set_xla_hlo_profile(bool value);
|
|
|
|
// bool xla_embed_ir_in_executable = 33;
|
|
void clear_xla_embed_ir_in_executable();
|
|
static const int kXlaEmbedIrInExecutableFieldNumber = 33;
|
|
bool xla_embed_ir_in_executable() const;
|
|
void set_xla_embed_ir_in_executable(bool value);
|
|
|
|
// int32 xla_backend_optimization_level = 31;
|
|
void clear_xla_backend_optimization_level();
|
|
static const int kXlaBackendOptimizationLevelFieldNumber = 31;
|
|
::google::protobuf::int32 xla_backend_optimization_level() const;
|
|
void set_xla_backend_optimization_level(::google::protobuf::int32 value);
|
|
|
|
// int32 xla_force_host_platform_device_count = 102;
|
|
void clear_xla_force_host_platform_device_count();
|
|
static const int kXlaForceHostPlatformDeviceCountFieldNumber = 102;
|
|
::google::protobuf::int32 xla_force_host_platform_device_count() const;
|
|
void set_xla_force_host_platform_device_count(::google::protobuf::int32 value);
|
|
|
|
// bool xla_eliminate_hlo_implicit_broadcast = 35;
|
|
void clear_xla_eliminate_hlo_implicit_broadcast();
|
|
static const int kXlaEliminateHloImplicitBroadcastFieldNumber = 35;
|
|
bool xla_eliminate_hlo_implicit_broadcast() const;
|
|
void set_xla_eliminate_hlo_implicit_broadcast(bool value);
|
|
|
|
// bool xla_cpu_multi_thread_eigen = 60;
|
|
void clear_xla_cpu_multi_thread_eigen();
|
|
static const int kXlaCpuMultiThreadEigenFieldNumber = 60;
|
|
bool xla_cpu_multi_thread_eigen() const;
|
|
void set_xla_cpu_multi_thread_eigen(bool value);
|
|
|
|
// bool xla_gpu_ftz = 62;
|
|
void clear_xla_gpu_ftz();
|
|
static const int kXlaGpuFtzFieldNumber = 62;
|
|
bool xla_gpu_ftz() const;
|
|
void set_xla_gpu_ftz(bool value);
|
|
|
|
// bool xla_gpu_disable_multi_streaming = 63;
|
|
void clear_xla_gpu_disable_multi_streaming();
|
|
static const int kXlaGpuDisableMultiStreamingFieldNumber = 63;
|
|
bool xla_gpu_disable_multi_streaming() const;
|
|
void set_xla_gpu_disable_multi_streaming(bool value);
|
|
|
|
// bool xla_llvm_enable_alias_scope_metadata = 70;
|
|
void clear_xla_llvm_enable_alias_scope_metadata();
|
|
static const int kXlaLlvmEnableAliasScopeMetadataFieldNumber = 70;
|
|
bool xla_llvm_enable_alias_scope_metadata() const;
|
|
void set_xla_llvm_enable_alias_scope_metadata(bool value);
|
|
|
|
// bool xla_llvm_enable_noalias_metadata = 71;
|
|
void clear_xla_llvm_enable_noalias_metadata();
|
|
static const int kXlaLlvmEnableNoaliasMetadataFieldNumber = 71;
|
|
bool xla_llvm_enable_noalias_metadata() const;
|
|
void set_xla_llvm_enable_noalias_metadata(bool value);
|
|
|
|
// bool xla_llvm_enable_invariant_load_metadata = 72;
|
|
void clear_xla_llvm_enable_invariant_load_metadata();
|
|
static const int kXlaLlvmEnableInvariantLoadMetadataFieldNumber = 72;
|
|
bool xla_llvm_enable_invariant_load_metadata() const;
|
|
void set_xla_llvm_enable_invariant_load_metadata(bool value);
|
|
|
|
// bool xla_llvm_disable_expensive_passes = 73;
|
|
void clear_xla_llvm_disable_expensive_passes();
|
|
static const int kXlaLlvmDisableExpensivePassesFieldNumber = 73;
|
|
bool xla_llvm_disable_expensive_passes() const;
|
|
void set_xla_llvm_disable_expensive_passes(bool value);
|
|
|
|
// bool xla_test_all_output_layouts = 90;
|
|
void clear_xla_test_all_output_layouts();
|
|
static const int kXlaTestAllOutputLayoutsFieldNumber = 90;
|
|
bool xla_test_all_output_layouts() const;
|
|
void set_xla_test_all_output_layouts(bool value);
|
|
|
|
// bool xla_test_all_input_layouts = 91;
|
|
void clear_xla_test_all_input_layouts();
|
|
static const int kXlaTestAllInputLayoutsFieldNumber = 91;
|
|
bool xla_test_all_input_layouts() const;
|
|
void set_xla_test_all_input_layouts(bool value);
|
|
|
|
// bool xla_hlo_graph_sharding_color = 92;
|
|
void clear_xla_hlo_graph_sharding_color();
|
|
static const int kXlaHloGraphShardingColorFieldNumber = 92;
|
|
bool xla_hlo_graph_sharding_color() const;
|
|
void set_xla_hlo_graph_sharding_color(bool value);
|
|
|
|
// bool xla_hlo_tfgraph_device_scopes = 93;
|
|
void clear_xla_hlo_tfgraph_device_scopes();
|
|
static const int kXlaHloTfgraphDeviceScopesFieldNumber = 93;
|
|
bool xla_hlo_tfgraph_device_scopes() const;
|
|
void set_xla_hlo_tfgraph_device_scopes(bool value);
|
|
|
|
// bool xla_gpu_use_cudnn_batchnorm = 94;
|
|
void clear_xla_gpu_use_cudnn_batchnorm();
|
|
static const int kXlaGpuUseCudnnBatchnormFieldNumber = 94;
|
|
bool xla_gpu_use_cudnn_batchnorm() const;
|
|
void set_xla_gpu_use_cudnn_batchnorm(bool value);
|
|
|
|
// bool xla_cpu_use_mkl_dnn = 97;
|
|
void clear_xla_cpu_use_mkl_dnn();
|
|
static const int kXlaCpuUseMklDnnFieldNumber = 97;
|
|
bool xla_cpu_use_mkl_dnn() const;
|
|
void set_xla_cpu_use_mkl_dnn(bool value);
|
|
|
|
// bool xla_cpu_enable_fast_math = 99;
|
|
void clear_xla_cpu_enable_fast_math();
|
|
static const int kXlaCpuEnableFastMathFieldNumber = 99;
|
|
bool xla_cpu_enable_fast_math() const;
|
|
void set_xla_cpu_enable_fast_math(bool value);
|
|
|
|
// bool xla_gpu_enable_fast_math = 100;
|
|
void clear_xla_gpu_enable_fast_math();
|
|
static const int kXlaGpuEnableFastMathFieldNumber = 100;
|
|
bool xla_gpu_enable_fast_math() const;
|
|
void set_xla_gpu_enable_fast_math(bool value);
|
|
|
|
// int32 xla_gpu_max_kernel_unroll_factor = 98;
|
|
void clear_xla_gpu_max_kernel_unroll_factor();
|
|
static const int kXlaGpuMaxKernelUnrollFactorFieldNumber = 98;
|
|
::google::protobuf::int32 xla_gpu_max_kernel_unroll_factor() const;
|
|
void set_xla_gpu_max_kernel_unroll_factor(::google::protobuf::int32 value);
|
|
|
|
// bool xla_gpu_crash_on_verification_failures = 101;
|
|
void clear_xla_gpu_crash_on_verification_failures();
|
|
static const int kXlaGpuCrashOnVerificationFailuresFieldNumber = 101;
|
|
bool xla_gpu_crash_on_verification_failures() const;
|
|
void set_xla_gpu_crash_on_verification_failures(bool value);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.DebugOptions)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::RepeatedPtrField< ::std::string> xla_disable_hlo_passes_;
|
|
::google::protobuf::RepeatedPtrField< ::xla::HloReducePrecisionOptions > hlo_reduce_precision_options_;
|
|
::google::protobuf::internal::MapField<
|
|
DebugOptions_XlaBackendExtraOptionsEntry_DoNotUse,
|
|
::std::string, ::std::string,
|
|
::google::protobuf::internal::WireFormatLite::TYPE_STRING,
|
|
::google::protobuf::internal::WireFormatLite::TYPE_STRING,
|
|
0 > xla_backend_extra_options_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_generate_hlo_graph_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_hlo_graph_path_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_log_hlo_text_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_generate_hlo_text_to_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_dump_optimized_hlo_proto_to_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_dump_computations_to_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_dump_executions_to_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_dump_ir_to_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_gpu_cuda_data_dir_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_dump_unoptimized_hlo_proto_to_;
|
|
::google::protobuf::internal::ArenaStringPtr xla_dump_per_pass_hlo_proto_to_;
|
|
bool xla_hlo_graph_addresses_;
|
|
bool xla_hlo_dump_as_graphdef_;
|
|
bool xla_hlo_profile_;
|
|
bool xla_embed_ir_in_executable_;
|
|
::google::protobuf::int32 xla_backend_optimization_level_;
|
|
::google::protobuf::int32 xla_force_host_platform_device_count_;
|
|
bool xla_eliminate_hlo_implicit_broadcast_;
|
|
bool xla_cpu_multi_thread_eigen_;
|
|
bool xla_gpu_ftz_;
|
|
bool xla_gpu_disable_multi_streaming_;
|
|
bool xla_llvm_enable_alias_scope_metadata_;
|
|
bool xla_llvm_enable_noalias_metadata_;
|
|
bool xla_llvm_enable_invariant_load_metadata_;
|
|
bool xla_llvm_disable_expensive_passes_;
|
|
bool xla_test_all_output_layouts_;
|
|
bool xla_test_all_input_layouts_;
|
|
bool xla_hlo_graph_sharding_color_;
|
|
bool xla_hlo_tfgraph_device_scopes_;
|
|
bool xla_gpu_use_cudnn_batchnorm_;
|
|
bool xla_cpu_use_mkl_dnn_;
|
|
bool xla_cpu_enable_fast_math_;
|
|
bool xla_gpu_enable_fast_math_;
|
|
::google::protobuf::int32 xla_gpu_max_kernel_unroll_factor_;
|
|
bool xla_gpu_crash_on_verification_failures_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ExecutionOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ExecutionOptions) */ {
|
|
public:
|
|
ExecutionOptions();
|
|
virtual ~ExecutionOptions();
|
|
|
|
ExecutionOptions(const ExecutionOptions& from);
|
|
|
|
inline ExecutionOptions& operator=(const ExecutionOptions& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ExecutionOptions(ExecutionOptions&& from) noexcept
|
|
: ExecutionOptions() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ExecutionOptions& operator=(ExecutionOptions&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ExecutionOptions& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ExecutionOptions* internal_default_instance() {
|
|
return reinterpret_cast<const ExecutionOptions*>(
|
|
&_ExecutionOptions_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
3;
|
|
|
|
void Swap(ExecutionOptions* other);
|
|
friend void swap(ExecutionOptions& a, ExecutionOptions& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ExecutionOptions* New() const final {
|
|
return CreateMaybeMessage<ExecutionOptions>(NULL);
|
|
}
|
|
|
|
ExecutionOptions* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ExecutionOptions>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ExecutionOptions& from);
|
|
void MergeFrom(const ExecutionOptions& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ExecutionOptions* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .xla.DeviceHandle device_handles = 5;
|
|
int device_handles_size() const;
|
|
void clear_device_handles();
|
|
static const int kDeviceHandlesFieldNumber = 5;
|
|
::xla::DeviceHandle* mutable_device_handles(int index);
|
|
::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle >*
|
|
mutable_device_handles();
|
|
const ::xla::DeviceHandle& device_handles(int index) const;
|
|
::xla::DeviceHandle* add_device_handles();
|
|
const ::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle >&
|
|
device_handles() const;
|
|
|
|
// .xla.Shape shape_with_output_layout = 2;
|
|
bool has_shape_with_output_layout() const;
|
|
void clear_shape_with_output_layout();
|
|
static const int kShapeWithOutputLayoutFieldNumber = 2;
|
|
private:
|
|
const ::xla::Shape& _internal_shape_with_output_layout() const;
|
|
public:
|
|
const ::xla::Shape& shape_with_output_layout() const;
|
|
::xla::Shape* release_shape_with_output_layout();
|
|
::xla::Shape* mutable_shape_with_output_layout();
|
|
void set_allocated_shape_with_output_layout(::xla::Shape* shape_with_output_layout);
|
|
|
|
// .xla.DebugOptions debug_options = 4;
|
|
bool has_debug_options() const;
|
|
void clear_debug_options();
|
|
static const int kDebugOptionsFieldNumber = 4;
|
|
private:
|
|
const ::xla::DebugOptions& _internal_debug_options() const;
|
|
public:
|
|
const ::xla::DebugOptions& debug_options() const;
|
|
::xla::DebugOptions* release_debug_options();
|
|
::xla::DebugOptions* mutable_debug_options();
|
|
void set_allocated_debug_options(::xla::DebugOptions* debug_options);
|
|
|
|
// uint64 seed = 3;
|
|
void clear_seed();
|
|
static const int kSeedFieldNumber = 3;
|
|
::google::protobuf::uint64 seed() const;
|
|
void set_seed(::google::protobuf::uint64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ExecutionOptions)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle > device_handles_;
|
|
::xla::Shape* shape_with_output_layout_;
|
|
::xla::DebugOptions* debug_options_;
|
|
::google::protobuf::uint64 seed_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetDeviceHandlesRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.GetDeviceHandlesRequest) */ {
|
|
public:
|
|
GetDeviceHandlesRequest();
|
|
virtual ~GetDeviceHandlesRequest();
|
|
|
|
GetDeviceHandlesRequest(const GetDeviceHandlesRequest& from);
|
|
|
|
inline GetDeviceHandlesRequest& operator=(const GetDeviceHandlesRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
GetDeviceHandlesRequest(GetDeviceHandlesRequest&& from) noexcept
|
|
: GetDeviceHandlesRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline GetDeviceHandlesRequest& operator=(GetDeviceHandlesRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const GetDeviceHandlesRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const GetDeviceHandlesRequest* internal_default_instance() {
|
|
return reinterpret_cast<const GetDeviceHandlesRequest*>(
|
|
&_GetDeviceHandlesRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
4;
|
|
|
|
void Swap(GetDeviceHandlesRequest* other);
|
|
friend void swap(GetDeviceHandlesRequest& a, GetDeviceHandlesRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetDeviceHandlesRequest* New() const final {
|
|
return CreateMaybeMessage<GetDeviceHandlesRequest>(NULL);
|
|
}
|
|
|
|
GetDeviceHandlesRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<GetDeviceHandlesRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const GetDeviceHandlesRequest& from);
|
|
void MergeFrom(const GetDeviceHandlesRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(GetDeviceHandlesRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// int64 device_count = 1;
|
|
void clear_device_count();
|
|
static const int kDeviceCountFieldNumber = 1;
|
|
::google::protobuf::int64 device_count() const;
|
|
void set_device_count(::google::protobuf::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.GetDeviceHandlesRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::int64 device_count_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetDeviceHandlesResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.GetDeviceHandlesResponse) */ {
|
|
public:
|
|
GetDeviceHandlesResponse();
|
|
virtual ~GetDeviceHandlesResponse();
|
|
|
|
GetDeviceHandlesResponse(const GetDeviceHandlesResponse& from);
|
|
|
|
inline GetDeviceHandlesResponse& operator=(const GetDeviceHandlesResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
GetDeviceHandlesResponse(GetDeviceHandlesResponse&& from) noexcept
|
|
: GetDeviceHandlesResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline GetDeviceHandlesResponse& operator=(GetDeviceHandlesResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const GetDeviceHandlesResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const GetDeviceHandlesResponse* internal_default_instance() {
|
|
return reinterpret_cast<const GetDeviceHandlesResponse*>(
|
|
&_GetDeviceHandlesResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
5;
|
|
|
|
void Swap(GetDeviceHandlesResponse* other);
|
|
friend void swap(GetDeviceHandlesResponse& a, GetDeviceHandlesResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetDeviceHandlesResponse* New() const final {
|
|
return CreateMaybeMessage<GetDeviceHandlesResponse>(NULL);
|
|
}
|
|
|
|
GetDeviceHandlesResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<GetDeviceHandlesResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const GetDeviceHandlesResponse& from);
|
|
void MergeFrom(const GetDeviceHandlesResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(GetDeviceHandlesResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .xla.DeviceHandle device_handles = 1;
|
|
int device_handles_size() const;
|
|
void clear_device_handles();
|
|
static const int kDeviceHandlesFieldNumber = 1;
|
|
::xla::DeviceHandle* mutable_device_handles(int index);
|
|
::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle >*
|
|
mutable_device_handles();
|
|
const ::xla::DeviceHandle& device_handles(int index) const;
|
|
::xla::DeviceHandle* add_device_handles();
|
|
const ::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle >&
|
|
device_handles() const;
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.GetDeviceHandlesResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle > device_handles_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransferToClientRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.TransferToClientRequest) */ {
|
|
public:
|
|
TransferToClientRequest();
|
|
virtual ~TransferToClientRequest();
|
|
|
|
TransferToClientRequest(const TransferToClientRequest& from);
|
|
|
|
inline TransferToClientRequest& operator=(const TransferToClientRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
TransferToClientRequest(TransferToClientRequest&& from) noexcept
|
|
: TransferToClientRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline TransferToClientRequest& operator=(TransferToClientRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const TransferToClientRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const TransferToClientRequest* internal_default_instance() {
|
|
return reinterpret_cast<const TransferToClientRequest*>(
|
|
&_TransferToClientRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
6;
|
|
|
|
void Swap(TransferToClientRequest* other);
|
|
friend void swap(TransferToClientRequest& a, TransferToClientRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline TransferToClientRequest* New() const final {
|
|
return CreateMaybeMessage<TransferToClientRequest>(NULL);
|
|
}
|
|
|
|
TransferToClientRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<TransferToClientRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const TransferToClientRequest& from);
|
|
void MergeFrom(const TransferToClientRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(TransferToClientRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
bool has_data() const;
|
|
void clear_data();
|
|
static const int kDataFieldNumber = 1;
|
|
private:
|
|
const ::xla::GlobalDataHandle& _internal_data() const;
|
|
public:
|
|
const ::xla::GlobalDataHandle& data() const;
|
|
::xla::GlobalDataHandle* release_data();
|
|
::xla::GlobalDataHandle* mutable_data();
|
|
void set_allocated_data(::xla::GlobalDataHandle* data);
|
|
|
|
// .xla.Shape shape_with_layout = 2;
|
|
bool has_shape_with_layout() const;
|
|
void clear_shape_with_layout();
|
|
static const int kShapeWithLayoutFieldNumber = 2;
|
|
private:
|
|
const ::xla::Shape& _internal_shape_with_layout() const;
|
|
public:
|
|
const ::xla::Shape& shape_with_layout() const;
|
|
::xla::Shape* release_shape_with_layout();
|
|
::xla::Shape* mutable_shape_with_layout();
|
|
void set_allocated_shape_with_layout(::xla::Shape* shape_with_layout);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.TransferToClientRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::GlobalDataHandle* data_;
|
|
::xla::Shape* shape_with_layout_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransferToClientResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.TransferToClientResponse) */ {
|
|
public:
|
|
TransferToClientResponse();
|
|
virtual ~TransferToClientResponse();
|
|
|
|
TransferToClientResponse(const TransferToClientResponse& from);
|
|
|
|
inline TransferToClientResponse& operator=(const TransferToClientResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
TransferToClientResponse(TransferToClientResponse&& from) noexcept
|
|
: TransferToClientResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline TransferToClientResponse& operator=(TransferToClientResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const TransferToClientResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const TransferToClientResponse* internal_default_instance() {
|
|
return reinterpret_cast<const TransferToClientResponse*>(
|
|
&_TransferToClientResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
7;
|
|
|
|
void Swap(TransferToClientResponse* other);
|
|
friend void swap(TransferToClientResponse& a, TransferToClientResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline TransferToClientResponse* New() const final {
|
|
return CreateMaybeMessage<TransferToClientResponse>(NULL);
|
|
}
|
|
|
|
TransferToClientResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<TransferToClientResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const TransferToClientResponse& from);
|
|
void MergeFrom(const TransferToClientResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(TransferToClientResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
bool has_literal() const;
|
|
void clear_literal();
|
|
static const int kLiteralFieldNumber = 1;
|
|
private:
|
|
const ::xla::LiteralProto& _internal_literal() const;
|
|
public:
|
|
const ::xla::LiteralProto& literal() const;
|
|
::xla::LiteralProto* release_literal();
|
|
::xla::LiteralProto* mutable_literal();
|
|
void set_allocated_literal(::xla::LiteralProto* literal);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.TransferToClientResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::LiteralProto* literal_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransferToServerRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.TransferToServerRequest) */ {
|
|
public:
|
|
TransferToServerRequest();
|
|
virtual ~TransferToServerRequest();
|
|
|
|
TransferToServerRequest(const TransferToServerRequest& from);
|
|
|
|
inline TransferToServerRequest& operator=(const TransferToServerRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
TransferToServerRequest(TransferToServerRequest&& from) noexcept
|
|
: TransferToServerRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline TransferToServerRequest& operator=(TransferToServerRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const TransferToServerRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const TransferToServerRequest* internal_default_instance() {
|
|
return reinterpret_cast<const TransferToServerRequest*>(
|
|
&_TransferToServerRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
8;
|
|
|
|
void Swap(TransferToServerRequest* other);
|
|
friend void swap(TransferToServerRequest& a, TransferToServerRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline TransferToServerRequest* New() const final {
|
|
return CreateMaybeMessage<TransferToServerRequest>(NULL);
|
|
}
|
|
|
|
TransferToServerRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<TransferToServerRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const TransferToServerRequest& from);
|
|
void MergeFrom(const TransferToServerRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(TransferToServerRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
bool has_literal() const;
|
|
void clear_literal();
|
|
static const int kLiteralFieldNumber = 1;
|
|
private:
|
|
const ::xla::LiteralProto& _internal_literal() const;
|
|
public:
|
|
const ::xla::LiteralProto& literal() const;
|
|
::xla::LiteralProto* release_literal();
|
|
::xla::LiteralProto* mutable_literal();
|
|
void set_allocated_literal(::xla::LiteralProto* literal);
|
|
|
|
// .xla.DeviceHandle device_handle = 2;
|
|
bool has_device_handle() const;
|
|
void clear_device_handle();
|
|
static const int kDeviceHandleFieldNumber = 2;
|
|
private:
|
|
const ::xla::DeviceHandle& _internal_device_handle() const;
|
|
public:
|
|
const ::xla::DeviceHandle& device_handle() const;
|
|
::xla::DeviceHandle* release_device_handle();
|
|
::xla::DeviceHandle* mutable_device_handle();
|
|
void set_allocated_device_handle(::xla::DeviceHandle* device_handle);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.TransferToServerRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::LiteralProto* literal_;
|
|
::xla::DeviceHandle* device_handle_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransferToServerResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.TransferToServerResponse) */ {
|
|
public:
|
|
TransferToServerResponse();
|
|
virtual ~TransferToServerResponse();
|
|
|
|
TransferToServerResponse(const TransferToServerResponse& from);
|
|
|
|
inline TransferToServerResponse& operator=(const TransferToServerResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
TransferToServerResponse(TransferToServerResponse&& from) noexcept
|
|
: TransferToServerResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline TransferToServerResponse& operator=(TransferToServerResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const TransferToServerResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const TransferToServerResponse* internal_default_instance() {
|
|
return reinterpret_cast<const TransferToServerResponse*>(
|
|
&_TransferToServerResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
9;
|
|
|
|
void Swap(TransferToServerResponse* other);
|
|
friend void swap(TransferToServerResponse& a, TransferToServerResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline TransferToServerResponse* New() const final {
|
|
return CreateMaybeMessage<TransferToServerResponse>(NULL);
|
|
}
|
|
|
|
TransferToServerResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<TransferToServerResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const TransferToServerResponse& from);
|
|
void MergeFrom(const TransferToServerResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(TransferToServerResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
bool has_data() const;
|
|
void clear_data();
|
|
static const int kDataFieldNumber = 1;
|
|
private:
|
|
const ::xla::GlobalDataHandle& _internal_data() const;
|
|
public:
|
|
const ::xla::GlobalDataHandle& data() const;
|
|
::xla::GlobalDataHandle* release_data();
|
|
::xla::GlobalDataHandle* mutable_data();
|
|
void set_allocated_data(::xla::GlobalDataHandle* data);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.TransferToServerResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::GlobalDataHandle* data_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransferToInfeedRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.TransferToInfeedRequest) */ {
|
|
public:
|
|
TransferToInfeedRequest();
|
|
virtual ~TransferToInfeedRequest();
|
|
|
|
TransferToInfeedRequest(const TransferToInfeedRequest& from);
|
|
|
|
inline TransferToInfeedRequest& operator=(const TransferToInfeedRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
TransferToInfeedRequest(TransferToInfeedRequest&& from) noexcept
|
|
: TransferToInfeedRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline TransferToInfeedRequest& operator=(TransferToInfeedRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const TransferToInfeedRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const TransferToInfeedRequest* internal_default_instance() {
|
|
return reinterpret_cast<const TransferToInfeedRequest*>(
|
|
&_TransferToInfeedRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
10;
|
|
|
|
void Swap(TransferToInfeedRequest* other);
|
|
friend void swap(TransferToInfeedRequest& a, TransferToInfeedRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline TransferToInfeedRequest* New() const final {
|
|
return CreateMaybeMessage<TransferToInfeedRequest>(NULL);
|
|
}
|
|
|
|
TransferToInfeedRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<TransferToInfeedRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const TransferToInfeedRequest& from);
|
|
void MergeFrom(const TransferToInfeedRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(TransferToInfeedRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
bool has_literal() const;
|
|
void clear_literal();
|
|
static const int kLiteralFieldNumber = 1;
|
|
private:
|
|
const ::xla::LiteralProto& _internal_literal() const;
|
|
public:
|
|
const ::xla::LiteralProto& literal() const;
|
|
::xla::LiteralProto* release_literal();
|
|
::xla::LiteralProto* mutable_literal();
|
|
void set_allocated_literal(::xla::LiteralProto* literal);
|
|
|
|
// .xla.DeviceHandle device_handle = 3;
|
|
bool has_device_handle() const;
|
|
void clear_device_handle();
|
|
static const int kDeviceHandleFieldNumber = 3;
|
|
private:
|
|
const ::xla::DeviceHandle& _internal_device_handle() const;
|
|
public:
|
|
const ::xla::DeviceHandle& device_handle() const;
|
|
::xla::DeviceHandle* release_device_handle();
|
|
::xla::DeviceHandle* mutable_device_handle();
|
|
void set_allocated_device_handle(::xla::DeviceHandle* device_handle);
|
|
|
|
// int64 replica_id = 2;
|
|
void clear_replica_id();
|
|
static const int kReplicaIdFieldNumber = 2;
|
|
::google::protobuf::int64 replica_id() const;
|
|
void set_replica_id(::google::protobuf::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.TransferToInfeedRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::LiteralProto* literal_;
|
|
::xla::DeviceHandle* device_handle_;
|
|
::google::protobuf::int64 replica_id_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransferToInfeedResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.TransferToInfeedResponse) */ {
|
|
public:
|
|
TransferToInfeedResponse();
|
|
virtual ~TransferToInfeedResponse();
|
|
|
|
TransferToInfeedResponse(const TransferToInfeedResponse& from);
|
|
|
|
inline TransferToInfeedResponse& operator=(const TransferToInfeedResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
TransferToInfeedResponse(TransferToInfeedResponse&& from) noexcept
|
|
: TransferToInfeedResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline TransferToInfeedResponse& operator=(TransferToInfeedResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const TransferToInfeedResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const TransferToInfeedResponse* internal_default_instance() {
|
|
return reinterpret_cast<const TransferToInfeedResponse*>(
|
|
&_TransferToInfeedResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
11;
|
|
|
|
void Swap(TransferToInfeedResponse* other);
|
|
friend void swap(TransferToInfeedResponse& a, TransferToInfeedResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline TransferToInfeedResponse* New() const final {
|
|
return CreateMaybeMessage<TransferToInfeedResponse>(NULL);
|
|
}
|
|
|
|
TransferToInfeedResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<TransferToInfeedResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const TransferToInfeedResponse& from);
|
|
void MergeFrom(const TransferToInfeedResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(TransferToInfeedResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.TransferToInfeedResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransferFromOutfeedRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.TransferFromOutfeedRequest) */ {
|
|
public:
|
|
TransferFromOutfeedRequest();
|
|
virtual ~TransferFromOutfeedRequest();
|
|
|
|
TransferFromOutfeedRequest(const TransferFromOutfeedRequest& from);
|
|
|
|
inline TransferFromOutfeedRequest& operator=(const TransferFromOutfeedRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
TransferFromOutfeedRequest(TransferFromOutfeedRequest&& from) noexcept
|
|
: TransferFromOutfeedRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline TransferFromOutfeedRequest& operator=(TransferFromOutfeedRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const TransferFromOutfeedRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const TransferFromOutfeedRequest* internal_default_instance() {
|
|
return reinterpret_cast<const TransferFromOutfeedRequest*>(
|
|
&_TransferFromOutfeedRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
12;
|
|
|
|
void Swap(TransferFromOutfeedRequest* other);
|
|
friend void swap(TransferFromOutfeedRequest& a, TransferFromOutfeedRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline TransferFromOutfeedRequest* New() const final {
|
|
return CreateMaybeMessage<TransferFromOutfeedRequest>(NULL);
|
|
}
|
|
|
|
TransferFromOutfeedRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<TransferFromOutfeedRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const TransferFromOutfeedRequest& from);
|
|
void MergeFrom(const TransferFromOutfeedRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(TransferFromOutfeedRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.Shape shape_with_layout = 1;
|
|
bool has_shape_with_layout() const;
|
|
void clear_shape_with_layout();
|
|
static const int kShapeWithLayoutFieldNumber = 1;
|
|
private:
|
|
const ::xla::Shape& _internal_shape_with_layout() const;
|
|
public:
|
|
const ::xla::Shape& shape_with_layout() const;
|
|
::xla::Shape* release_shape_with_layout();
|
|
::xla::Shape* mutable_shape_with_layout();
|
|
void set_allocated_shape_with_layout(::xla::Shape* shape_with_layout);
|
|
|
|
// .xla.DeviceHandle device_handle = 3;
|
|
bool has_device_handle() const;
|
|
void clear_device_handle();
|
|
static const int kDeviceHandleFieldNumber = 3;
|
|
private:
|
|
const ::xla::DeviceHandle& _internal_device_handle() const;
|
|
public:
|
|
const ::xla::DeviceHandle& device_handle() const;
|
|
::xla::DeviceHandle* release_device_handle();
|
|
::xla::DeviceHandle* mutable_device_handle();
|
|
void set_allocated_device_handle(::xla::DeviceHandle* device_handle);
|
|
|
|
// int64 replica_id = 2;
|
|
void clear_replica_id();
|
|
static const int kReplicaIdFieldNumber = 2;
|
|
::google::protobuf::int64 replica_id() const;
|
|
void set_replica_id(::google::protobuf::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.TransferFromOutfeedRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::Shape* shape_with_layout_;
|
|
::xla::DeviceHandle* device_handle_;
|
|
::google::protobuf::int64 replica_id_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class TransferFromOutfeedResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.TransferFromOutfeedResponse) */ {
|
|
public:
|
|
TransferFromOutfeedResponse();
|
|
virtual ~TransferFromOutfeedResponse();
|
|
|
|
TransferFromOutfeedResponse(const TransferFromOutfeedResponse& from);
|
|
|
|
inline TransferFromOutfeedResponse& operator=(const TransferFromOutfeedResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
TransferFromOutfeedResponse(TransferFromOutfeedResponse&& from) noexcept
|
|
: TransferFromOutfeedResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline TransferFromOutfeedResponse& operator=(TransferFromOutfeedResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const TransferFromOutfeedResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const TransferFromOutfeedResponse* internal_default_instance() {
|
|
return reinterpret_cast<const TransferFromOutfeedResponse*>(
|
|
&_TransferFromOutfeedResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
13;
|
|
|
|
void Swap(TransferFromOutfeedResponse* other);
|
|
friend void swap(TransferFromOutfeedResponse& a, TransferFromOutfeedResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline TransferFromOutfeedResponse* New() const final {
|
|
return CreateMaybeMessage<TransferFromOutfeedResponse>(NULL);
|
|
}
|
|
|
|
TransferFromOutfeedResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<TransferFromOutfeedResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const TransferFromOutfeedResponse& from);
|
|
void MergeFrom(const TransferFromOutfeedResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(TransferFromOutfeedResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
bool has_literal() const;
|
|
void clear_literal();
|
|
static const int kLiteralFieldNumber = 1;
|
|
private:
|
|
const ::xla::LiteralProto& _internal_literal() const;
|
|
public:
|
|
const ::xla::LiteralProto& literal() const;
|
|
::xla::LiteralProto* release_literal();
|
|
::xla::LiteralProto* mutable_literal();
|
|
void set_allocated_literal(::xla::LiteralProto* literal);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.TransferFromOutfeedResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::LiteralProto* literal_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ResetDeviceRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ResetDeviceRequest) */ {
|
|
public:
|
|
ResetDeviceRequest();
|
|
virtual ~ResetDeviceRequest();
|
|
|
|
ResetDeviceRequest(const ResetDeviceRequest& from);
|
|
|
|
inline ResetDeviceRequest& operator=(const ResetDeviceRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ResetDeviceRequest(ResetDeviceRequest&& from) noexcept
|
|
: ResetDeviceRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ResetDeviceRequest& operator=(ResetDeviceRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ResetDeviceRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ResetDeviceRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ResetDeviceRequest*>(
|
|
&_ResetDeviceRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
14;
|
|
|
|
void Swap(ResetDeviceRequest* other);
|
|
friend void swap(ResetDeviceRequest& a, ResetDeviceRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ResetDeviceRequest* New() const final {
|
|
return CreateMaybeMessage<ResetDeviceRequest>(NULL);
|
|
}
|
|
|
|
ResetDeviceRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ResetDeviceRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ResetDeviceRequest& from);
|
|
void MergeFrom(const ResetDeviceRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ResetDeviceRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.DeviceHandle device_handle = 1;
|
|
bool has_device_handle() const;
|
|
void clear_device_handle();
|
|
static const int kDeviceHandleFieldNumber = 1;
|
|
private:
|
|
const ::xla::DeviceHandle& _internal_device_handle() const;
|
|
public:
|
|
const ::xla::DeviceHandle& device_handle() const;
|
|
::xla::DeviceHandle* release_device_handle();
|
|
::xla::DeviceHandle* mutable_device_handle();
|
|
void set_allocated_device_handle(::xla::DeviceHandle* device_handle);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ResetDeviceRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::DeviceHandle* device_handle_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ResetDeviceResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ResetDeviceResponse) */ {
|
|
public:
|
|
ResetDeviceResponse();
|
|
virtual ~ResetDeviceResponse();
|
|
|
|
ResetDeviceResponse(const ResetDeviceResponse& from);
|
|
|
|
inline ResetDeviceResponse& operator=(const ResetDeviceResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ResetDeviceResponse(ResetDeviceResponse&& from) noexcept
|
|
: ResetDeviceResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ResetDeviceResponse& operator=(ResetDeviceResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ResetDeviceResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ResetDeviceResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ResetDeviceResponse*>(
|
|
&_ResetDeviceResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
15;
|
|
|
|
void Swap(ResetDeviceResponse* other);
|
|
friend void swap(ResetDeviceResponse& a, ResetDeviceResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ResetDeviceResponse* New() const final {
|
|
return CreateMaybeMessage<ResetDeviceResponse>(NULL);
|
|
}
|
|
|
|
ResetDeviceResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ResetDeviceResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ResetDeviceResponse& from);
|
|
void MergeFrom(const ResetDeviceResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ResetDeviceResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ResetDeviceResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ComputationGraphStatsRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ComputationGraphStatsRequest) */ {
|
|
public:
|
|
ComputationGraphStatsRequest();
|
|
virtual ~ComputationGraphStatsRequest();
|
|
|
|
ComputationGraphStatsRequest(const ComputationGraphStatsRequest& from);
|
|
|
|
inline ComputationGraphStatsRequest& operator=(const ComputationGraphStatsRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ComputationGraphStatsRequest(ComputationGraphStatsRequest&& from) noexcept
|
|
: ComputationGraphStatsRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ComputationGraphStatsRequest& operator=(ComputationGraphStatsRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ComputationGraphStatsRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ComputationGraphStatsRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ComputationGraphStatsRequest*>(
|
|
&_ComputationGraphStatsRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
16;
|
|
|
|
void Swap(ComputationGraphStatsRequest* other);
|
|
friend void swap(ComputationGraphStatsRequest& a, ComputationGraphStatsRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ComputationGraphStatsRequest* New() const final {
|
|
return CreateMaybeMessage<ComputationGraphStatsRequest>(NULL);
|
|
}
|
|
|
|
ComputationGraphStatsRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ComputationGraphStatsRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ComputationGraphStatsRequest& from);
|
|
void MergeFrom(const ComputationGraphStatsRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ComputationGraphStatsRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.HloModuleProto computation = 1;
|
|
bool has_computation() const;
|
|
void clear_computation();
|
|
static const int kComputationFieldNumber = 1;
|
|
private:
|
|
const ::xla::HloModuleProto& _internal_computation() const;
|
|
public:
|
|
const ::xla::HloModuleProto& computation() const;
|
|
::xla::HloModuleProto* release_computation();
|
|
::xla::HloModuleProto* mutable_computation();
|
|
void set_allocated_computation(::xla::HloModuleProto* computation);
|
|
|
|
// .xla.DebugOptions debug_options = 2;
|
|
bool has_debug_options() const;
|
|
void clear_debug_options();
|
|
static const int kDebugOptionsFieldNumber = 2;
|
|
private:
|
|
const ::xla::DebugOptions& _internal_debug_options() const;
|
|
public:
|
|
const ::xla::DebugOptions& debug_options() const;
|
|
::xla::DebugOptions* release_debug_options();
|
|
::xla::DebugOptions* mutable_debug_options();
|
|
void set_allocated_debug_options(::xla::DebugOptions* debug_options);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ComputationGraphStatsRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::HloModuleProto* computation_;
|
|
::xla::DebugOptions* debug_options_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ComputationStatsResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ComputationStatsResponse) */ {
|
|
public:
|
|
ComputationStatsResponse();
|
|
virtual ~ComputationStatsResponse();
|
|
|
|
ComputationStatsResponse(const ComputationStatsResponse& from);
|
|
|
|
inline ComputationStatsResponse& operator=(const ComputationStatsResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ComputationStatsResponse(ComputationStatsResponse&& from) noexcept
|
|
: ComputationStatsResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ComputationStatsResponse& operator=(ComputationStatsResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ComputationStatsResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ComputationStatsResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ComputationStatsResponse*>(
|
|
&_ComputationStatsResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
17;
|
|
|
|
void Swap(ComputationStatsResponse* other);
|
|
friend void swap(ComputationStatsResponse& a, ComputationStatsResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ComputationStatsResponse* New() const final {
|
|
return CreateMaybeMessage<ComputationStatsResponse>(NULL);
|
|
}
|
|
|
|
ComputationStatsResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ComputationStatsResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ComputationStatsResponse& from);
|
|
void MergeFrom(const ComputationStatsResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ComputationStatsResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.ComputationStats stats = 1;
|
|
bool has_stats() const;
|
|
void clear_stats();
|
|
static const int kStatsFieldNumber = 1;
|
|
private:
|
|
const ::xla::ComputationStats& _internal_stats() const;
|
|
public:
|
|
const ::xla::ComputationStats& stats() const;
|
|
::xla::ComputationStats* release_stats();
|
|
::xla::ComputationStats* mutable_stats();
|
|
void set_allocated_stats(::xla::ComputationStats* stats);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ComputationStatsResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::ComputationStats* stats_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class CreateChannelHandleRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.CreateChannelHandleRequest) */ {
|
|
public:
|
|
CreateChannelHandleRequest();
|
|
virtual ~CreateChannelHandleRequest();
|
|
|
|
CreateChannelHandleRequest(const CreateChannelHandleRequest& from);
|
|
|
|
inline CreateChannelHandleRequest& operator=(const CreateChannelHandleRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
CreateChannelHandleRequest(CreateChannelHandleRequest&& from) noexcept
|
|
: CreateChannelHandleRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline CreateChannelHandleRequest& operator=(CreateChannelHandleRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const CreateChannelHandleRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const CreateChannelHandleRequest* internal_default_instance() {
|
|
return reinterpret_cast<const CreateChannelHandleRequest*>(
|
|
&_CreateChannelHandleRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
18;
|
|
|
|
void Swap(CreateChannelHandleRequest* other);
|
|
friend void swap(CreateChannelHandleRequest& a, CreateChannelHandleRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CreateChannelHandleRequest* New() const final {
|
|
return CreateMaybeMessage<CreateChannelHandleRequest>(NULL);
|
|
}
|
|
|
|
CreateChannelHandleRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<CreateChannelHandleRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const CreateChannelHandleRequest& from);
|
|
void MergeFrom(const CreateChannelHandleRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(CreateChannelHandleRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.ChannelHandle.ChannelType channel_type = 1;
|
|
void clear_channel_type();
|
|
static const int kChannelTypeFieldNumber = 1;
|
|
::xla::ChannelHandle_ChannelType channel_type() const;
|
|
void set_channel_type(::xla::ChannelHandle_ChannelType value);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.CreateChannelHandleRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
int channel_type_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class CreateChannelHandleResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.CreateChannelHandleResponse) */ {
|
|
public:
|
|
CreateChannelHandleResponse();
|
|
virtual ~CreateChannelHandleResponse();
|
|
|
|
CreateChannelHandleResponse(const CreateChannelHandleResponse& from);
|
|
|
|
inline CreateChannelHandleResponse& operator=(const CreateChannelHandleResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
CreateChannelHandleResponse(CreateChannelHandleResponse&& from) noexcept
|
|
: CreateChannelHandleResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline CreateChannelHandleResponse& operator=(CreateChannelHandleResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const CreateChannelHandleResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const CreateChannelHandleResponse* internal_default_instance() {
|
|
return reinterpret_cast<const CreateChannelHandleResponse*>(
|
|
&_CreateChannelHandleResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
19;
|
|
|
|
void Swap(CreateChannelHandleResponse* other);
|
|
friend void swap(CreateChannelHandleResponse& a, CreateChannelHandleResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline CreateChannelHandleResponse* New() const final {
|
|
return CreateMaybeMessage<CreateChannelHandleResponse>(NULL);
|
|
}
|
|
|
|
CreateChannelHandleResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<CreateChannelHandleResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const CreateChannelHandleResponse& from);
|
|
void MergeFrom(const CreateChannelHandleResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(CreateChannelHandleResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.ChannelHandle channel = 1;
|
|
bool has_channel() const;
|
|
void clear_channel();
|
|
static const int kChannelFieldNumber = 1;
|
|
private:
|
|
const ::xla::ChannelHandle& _internal_channel() const;
|
|
public:
|
|
const ::xla::ChannelHandle& channel() const;
|
|
::xla::ChannelHandle* release_channel();
|
|
::xla::ChannelHandle* mutable_channel();
|
|
void set_allocated_channel(::xla::ChannelHandle* channel);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.CreateChannelHandleResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::ChannelHandle* channel_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class UnregisterRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.UnregisterRequest) */ {
|
|
public:
|
|
UnregisterRequest();
|
|
virtual ~UnregisterRequest();
|
|
|
|
UnregisterRequest(const UnregisterRequest& from);
|
|
|
|
inline UnregisterRequest& operator=(const UnregisterRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
UnregisterRequest(UnregisterRequest&& from) noexcept
|
|
: UnregisterRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline UnregisterRequest& operator=(UnregisterRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const UnregisterRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const UnregisterRequest* internal_default_instance() {
|
|
return reinterpret_cast<const UnregisterRequest*>(
|
|
&_UnregisterRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
20;
|
|
|
|
void Swap(UnregisterRequest* other);
|
|
friend void swap(UnregisterRequest& a, UnregisterRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline UnregisterRequest* New() const final {
|
|
return CreateMaybeMessage<UnregisterRequest>(NULL);
|
|
}
|
|
|
|
UnregisterRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<UnregisterRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const UnregisterRequest& from);
|
|
void MergeFrom(const UnregisterRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(UnregisterRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
bool has_data() const;
|
|
void clear_data();
|
|
static const int kDataFieldNumber = 1;
|
|
private:
|
|
const ::xla::GlobalDataHandle& _internal_data() const;
|
|
public:
|
|
const ::xla::GlobalDataHandle& data() const;
|
|
::xla::GlobalDataHandle* release_data();
|
|
::xla::GlobalDataHandle* mutable_data();
|
|
void set_allocated_data(::xla::GlobalDataHandle* data);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.UnregisterRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::GlobalDataHandle* data_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class UnregisterResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.UnregisterResponse) */ {
|
|
public:
|
|
UnregisterResponse();
|
|
virtual ~UnregisterResponse();
|
|
|
|
UnregisterResponse(const UnregisterResponse& from);
|
|
|
|
inline UnregisterResponse& operator=(const UnregisterResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
UnregisterResponse(UnregisterResponse&& from) noexcept
|
|
: UnregisterResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline UnregisterResponse& operator=(UnregisterResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const UnregisterResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const UnregisterResponse* internal_default_instance() {
|
|
return reinterpret_cast<const UnregisterResponse*>(
|
|
&_UnregisterResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
21;
|
|
|
|
void Swap(UnregisterResponse* other);
|
|
friend void swap(UnregisterResponse& a, UnregisterResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline UnregisterResponse* New() const final {
|
|
return CreateMaybeMessage<UnregisterResponse>(NULL);
|
|
}
|
|
|
|
UnregisterResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<UnregisterResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const UnregisterResponse& from);
|
|
void MergeFrom(const UnregisterResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(UnregisterResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.UnregisterResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ExecuteGraphRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ExecuteGraphRequest) */ {
|
|
public:
|
|
ExecuteGraphRequest();
|
|
virtual ~ExecuteGraphRequest();
|
|
|
|
ExecuteGraphRequest(const ExecuteGraphRequest& from);
|
|
|
|
inline ExecuteGraphRequest& operator=(const ExecuteGraphRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ExecuteGraphRequest(ExecuteGraphRequest&& from) noexcept
|
|
: ExecuteGraphRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ExecuteGraphRequest& operator=(ExecuteGraphRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ExecuteGraphRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ExecuteGraphRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ExecuteGraphRequest*>(
|
|
&_ExecuteGraphRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
22;
|
|
|
|
void Swap(ExecuteGraphRequest* other);
|
|
friend void swap(ExecuteGraphRequest& a, ExecuteGraphRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ExecuteGraphRequest* New() const final {
|
|
return CreateMaybeMessage<ExecuteGraphRequest>(NULL);
|
|
}
|
|
|
|
ExecuteGraphRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ExecuteGraphRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ExecuteGraphRequest& from);
|
|
void MergeFrom(const ExecuteGraphRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ExecuteGraphRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .xla.GlobalDataHandle arguments = 2;
|
|
int arguments_size() const;
|
|
void clear_arguments();
|
|
static const int kArgumentsFieldNumber = 2;
|
|
::xla::GlobalDataHandle* mutable_arguments(int index);
|
|
::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >*
|
|
mutable_arguments();
|
|
const ::xla::GlobalDataHandle& arguments(int index) const;
|
|
::xla::GlobalDataHandle* add_arguments();
|
|
const ::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >&
|
|
arguments() const;
|
|
|
|
// .xla.HloModuleProto computation = 1;
|
|
bool has_computation() const;
|
|
void clear_computation();
|
|
static const int kComputationFieldNumber = 1;
|
|
private:
|
|
const ::xla::HloModuleProto& _internal_computation() const;
|
|
public:
|
|
const ::xla::HloModuleProto& computation() const;
|
|
::xla::HloModuleProto* release_computation();
|
|
::xla::HloModuleProto* mutable_computation();
|
|
void set_allocated_computation(::xla::HloModuleProto* computation);
|
|
|
|
// .xla.ExecutionOptions execution_options = 3;
|
|
bool has_execution_options() const;
|
|
void clear_execution_options();
|
|
static const int kExecutionOptionsFieldNumber = 3;
|
|
private:
|
|
const ::xla::ExecutionOptions& _internal_execution_options() const;
|
|
public:
|
|
const ::xla::ExecutionOptions& execution_options() const;
|
|
::xla::ExecutionOptions* release_execution_options();
|
|
::xla::ExecutionOptions* mutable_execution_options();
|
|
void set_allocated_execution_options(::xla::ExecutionOptions* execution_options);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ExecuteGraphRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle > arguments_;
|
|
::xla::HloModuleProto* computation_;
|
|
::xla::ExecutionOptions* execution_options_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ExecuteGraphParallelRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ExecuteGraphParallelRequest) */ {
|
|
public:
|
|
ExecuteGraphParallelRequest();
|
|
virtual ~ExecuteGraphParallelRequest();
|
|
|
|
ExecuteGraphParallelRequest(const ExecuteGraphParallelRequest& from);
|
|
|
|
inline ExecuteGraphParallelRequest& operator=(const ExecuteGraphParallelRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ExecuteGraphParallelRequest(ExecuteGraphParallelRequest&& from) noexcept
|
|
: ExecuteGraphParallelRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ExecuteGraphParallelRequest& operator=(ExecuteGraphParallelRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ExecuteGraphParallelRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ExecuteGraphParallelRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ExecuteGraphParallelRequest*>(
|
|
&_ExecuteGraphParallelRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
23;
|
|
|
|
void Swap(ExecuteGraphParallelRequest* other);
|
|
friend void swap(ExecuteGraphParallelRequest& a, ExecuteGraphParallelRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ExecuteGraphParallelRequest* New() const final {
|
|
return CreateMaybeMessage<ExecuteGraphParallelRequest>(NULL);
|
|
}
|
|
|
|
ExecuteGraphParallelRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ExecuteGraphParallelRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ExecuteGraphParallelRequest& from);
|
|
void MergeFrom(const ExecuteGraphParallelRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ExecuteGraphParallelRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .xla.ExecuteGraphRequest requests = 1;
|
|
int requests_size() const;
|
|
void clear_requests();
|
|
static const int kRequestsFieldNumber = 1;
|
|
::xla::ExecuteGraphRequest* mutable_requests(int index);
|
|
::google::protobuf::RepeatedPtrField< ::xla::ExecuteGraphRequest >*
|
|
mutable_requests();
|
|
const ::xla::ExecuteGraphRequest& requests(int index) const;
|
|
::xla::ExecuteGraphRequest* add_requests();
|
|
const ::google::protobuf::RepeatedPtrField< ::xla::ExecuteGraphRequest >&
|
|
requests() const;
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ExecuteGraphParallelRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::RepeatedPtrField< ::xla::ExecuteGraphRequest > requests_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ExecuteResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ExecuteResponse) */ {
|
|
public:
|
|
ExecuteResponse();
|
|
virtual ~ExecuteResponse();
|
|
|
|
ExecuteResponse(const ExecuteResponse& from);
|
|
|
|
inline ExecuteResponse& operator=(const ExecuteResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ExecuteResponse(ExecuteResponse&& from) noexcept
|
|
: ExecuteResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ExecuteResponse& operator=(ExecuteResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ExecuteResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ExecuteResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ExecuteResponse*>(
|
|
&_ExecuteResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
24;
|
|
|
|
void Swap(ExecuteResponse* other);
|
|
friend void swap(ExecuteResponse& a, ExecuteResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ExecuteResponse* New() const final {
|
|
return CreateMaybeMessage<ExecuteResponse>(NULL);
|
|
}
|
|
|
|
ExecuteResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ExecuteResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ExecuteResponse& from);
|
|
void MergeFrom(const ExecuteResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ExecuteResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.GlobalDataHandle output = 1;
|
|
bool has_output() const;
|
|
void clear_output();
|
|
static const int kOutputFieldNumber = 1;
|
|
private:
|
|
const ::xla::GlobalDataHandle& _internal_output() const;
|
|
public:
|
|
const ::xla::GlobalDataHandle& output() const;
|
|
::xla::GlobalDataHandle* release_output();
|
|
::xla::GlobalDataHandle* mutable_output();
|
|
void set_allocated_output(::xla::GlobalDataHandle* output);
|
|
|
|
// .xla.ExecutionProfile profile = 2;
|
|
bool has_profile() const;
|
|
void clear_profile();
|
|
static const int kProfileFieldNumber = 2;
|
|
private:
|
|
const ::xla::ExecutionProfile& _internal_profile() const;
|
|
public:
|
|
const ::xla::ExecutionProfile& profile() const;
|
|
::xla::ExecutionProfile* release_profile();
|
|
::xla::ExecutionProfile* mutable_profile();
|
|
void set_allocated_profile(::xla::ExecutionProfile* profile);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ExecuteResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::GlobalDataHandle* output_;
|
|
::xla::ExecutionProfile* profile_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ExecuteParallelResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ExecuteParallelResponse) */ {
|
|
public:
|
|
ExecuteParallelResponse();
|
|
virtual ~ExecuteParallelResponse();
|
|
|
|
ExecuteParallelResponse(const ExecuteParallelResponse& from);
|
|
|
|
inline ExecuteParallelResponse& operator=(const ExecuteParallelResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ExecuteParallelResponse(ExecuteParallelResponse&& from) noexcept
|
|
: ExecuteParallelResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ExecuteParallelResponse& operator=(ExecuteParallelResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ExecuteParallelResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ExecuteParallelResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ExecuteParallelResponse*>(
|
|
&_ExecuteParallelResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
25;
|
|
|
|
void Swap(ExecuteParallelResponse* other);
|
|
friend void swap(ExecuteParallelResponse& a, ExecuteParallelResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ExecuteParallelResponse* New() const final {
|
|
return CreateMaybeMessage<ExecuteParallelResponse>(NULL);
|
|
}
|
|
|
|
ExecuteParallelResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ExecuteParallelResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ExecuteParallelResponse& from);
|
|
void MergeFrom(const ExecuteParallelResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ExecuteParallelResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .xla.ExecuteResponse responses = 1;
|
|
int responses_size() const;
|
|
void clear_responses();
|
|
static const int kResponsesFieldNumber = 1;
|
|
::xla::ExecuteResponse* mutable_responses(int index);
|
|
::google::protobuf::RepeatedPtrField< ::xla::ExecuteResponse >*
|
|
mutable_responses();
|
|
const ::xla::ExecuteResponse& responses(int index) const;
|
|
::xla::ExecuteResponse* add_responses();
|
|
const ::google::protobuf::RepeatedPtrField< ::xla::ExecuteResponse >&
|
|
responses() const;
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ExecuteParallelResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::RepeatedPtrField< ::xla::ExecuteResponse > responses_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class WaitForExecutionRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.WaitForExecutionRequest) */ {
|
|
public:
|
|
WaitForExecutionRequest();
|
|
virtual ~WaitForExecutionRequest();
|
|
|
|
WaitForExecutionRequest(const WaitForExecutionRequest& from);
|
|
|
|
inline WaitForExecutionRequest& operator=(const WaitForExecutionRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
WaitForExecutionRequest(WaitForExecutionRequest&& from) noexcept
|
|
: WaitForExecutionRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline WaitForExecutionRequest& operator=(WaitForExecutionRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const WaitForExecutionRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const WaitForExecutionRequest* internal_default_instance() {
|
|
return reinterpret_cast<const WaitForExecutionRequest*>(
|
|
&_WaitForExecutionRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
26;
|
|
|
|
void Swap(WaitForExecutionRequest* other);
|
|
friend void swap(WaitForExecutionRequest& a, WaitForExecutionRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline WaitForExecutionRequest* New() const final {
|
|
return CreateMaybeMessage<WaitForExecutionRequest>(NULL);
|
|
}
|
|
|
|
WaitForExecutionRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<WaitForExecutionRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const WaitForExecutionRequest& from);
|
|
void MergeFrom(const WaitForExecutionRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(WaitForExecutionRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.ExecutionHandle execution = 1;
|
|
bool has_execution() const;
|
|
void clear_execution();
|
|
static const int kExecutionFieldNumber = 1;
|
|
private:
|
|
const ::xla::ExecutionHandle& _internal_execution() const;
|
|
public:
|
|
const ::xla::ExecutionHandle& execution() const;
|
|
::xla::ExecutionHandle* release_execution();
|
|
::xla::ExecutionHandle* mutable_execution();
|
|
void set_allocated_execution(::xla::ExecutionHandle* execution);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.WaitForExecutionRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::ExecutionHandle* execution_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class WaitForExecutionResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.WaitForExecutionResponse) */ {
|
|
public:
|
|
WaitForExecutionResponse();
|
|
virtual ~WaitForExecutionResponse();
|
|
|
|
WaitForExecutionResponse(const WaitForExecutionResponse& from);
|
|
|
|
inline WaitForExecutionResponse& operator=(const WaitForExecutionResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
WaitForExecutionResponse(WaitForExecutionResponse&& from) noexcept
|
|
: WaitForExecutionResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline WaitForExecutionResponse& operator=(WaitForExecutionResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const WaitForExecutionResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const WaitForExecutionResponse* internal_default_instance() {
|
|
return reinterpret_cast<const WaitForExecutionResponse*>(
|
|
&_WaitForExecutionResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
27;
|
|
|
|
void Swap(WaitForExecutionResponse* other);
|
|
friend void swap(WaitForExecutionResponse& a, WaitForExecutionResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline WaitForExecutionResponse* New() const final {
|
|
return CreateMaybeMessage<WaitForExecutionResponse>(NULL);
|
|
}
|
|
|
|
WaitForExecutionResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<WaitForExecutionResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const WaitForExecutionResponse& from);
|
|
void MergeFrom(const WaitForExecutionResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(WaitForExecutionResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.GlobalDataHandle output = 1;
|
|
bool has_output() const;
|
|
void clear_output();
|
|
static const int kOutputFieldNumber = 1;
|
|
private:
|
|
const ::xla::GlobalDataHandle& _internal_output() const;
|
|
public:
|
|
const ::xla::GlobalDataHandle& output() const;
|
|
::xla::GlobalDataHandle* release_output();
|
|
::xla::GlobalDataHandle* mutable_output();
|
|
void set_allocated_output(::xla::GlobalDataHandle* output);
|
|
|
|
// .xla.ExecutionProfile profile = 2;
|
|
bool has_profile() const;
|
|
void clear_profile();
|
|
static const int kProfileFieldNumber = 2;
|
|
private:
|
|
const ::xla::ExecutionProfile& _internal_profile() const;
|
|
public:
|
|
const ::xla::ExecutionProfile& profile() const;
|
|
::xla::ExecutionProfile* release_profile();
|
|
::xla::ExecutionProfile* mutable_profile();
|
|
void set_allocated_profile(::xla::ExecutionProfile* profile);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.WaitForExecutionResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::GlobalDataHandle* output_;
|
|
::xla::ExecutionProfile* profile_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ComputeConstantGraphRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ComputeConstantGraphRequest) */ {
|
|
public:
|
|
ComputeConstantGraphRequest();
|
|
virtual ~ComputeConstantGraphRequest();
|
|
|
|
ComputeConstantGraphRequest(const ComputeConstantGraphRequest& from);
|
|
|
|
inline ComputeConstantGraphRequest& operator=(const ComputeConstantGraphRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ComputeConstantGraphRequest(ComputeConstantGraphRequest&& from) noexcept
|
|
: ComputeConstantGraphRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ComputeConstantGraphRequest& operator=(ComputeConstantGraphRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ComputeConstantGraphRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ComputeConstantGraphRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ComputeConstantGraphRequest*>(
|
|
&_ComputeConstantGraphRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
28;
|
|
|
|
void Swap(ComputeConstantGraphRequest* other);
|
|
friend void swap(ComputeConstantGraphRequest& a, ComputeConstantGraphRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ComputeConstantGraphRequest* New() const final {
|
|
return CreateMaybeMessage<ComputeConstantGraphRequest>(NULL);
|
|
}
|
|
|
|
ComputeConstantGraphRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ComputeConstantGraphRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ComputeConstantGraphRequest& from);
|
|
void MergeFrom(const ComputeConstantGraphRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ComputeConstantGraphRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.HloModuleProto computation = 1;
|
|
bool has_computation() const;
|
|
void clear_computation();
|
|
static const int kComputationFieldNumber = 1;
|
|
private:
|
|
const ::xla::HloModuleProto& _internal_computation() const;
|
|
public:
|
|
const ::xla::HloModuleProto& computation() const;
|
|
::xla::HloModuleProto* release_computation();
|
|
::xla::HloModuleProto* mutable_computation();
|
|
void set_allocated_computation(::xla::HloModuleProto* computation);
|
|
|
|
// .xla.Layout output_layout = 2;
|
|
bool has_output_layout() const;
|
|
void clear_output_layout();
|
|
static const int kOutputLayoutFieldNumber = 2;
|
|
private:
|
|
const ::xla::Layout& _internal_output_layout() const;
|
|
public:
|
|
const ::xla::Layout& output_layout() const;
|
|
::xla::Layout* release_output_layout();
|
|
::xla::Layout* mutable_output_layout();
|
|
void set_allocated_output_layout(::xla::Layout* output_layout);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ComputeConstantGraphRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::HloModuleProto* computation_;
|
|
::xla::Layout* output_layout_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ComputeConstantResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.ComputeConstantResponse) */ {
|
|
public:
|
|
ComputeConstantResponse();
|
|
virtual ~ComputeConstantResponse();
|
|
|
|
ComputeConstantResponse(const ComputeConstantResponse& from);
|
|
|
|
inline ComputeConstantResponse& operator=(const ComputeConstantResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
ComputeConstantResponse(ComputeConstantResponse&& from) noexcept
|
|
: ComputeConstantResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ComputeConstantResponse& operator=(ComputeConstantResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const ComputeConstantResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const ComputeConstantResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ComputeConstantResponse*>(
|
|
&_ComputeConstantResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
29;
|
|
|
|
void Swap(ComputeConstantResponse* other);
|
|
friend void swap(ComputeConstantResponse& a, ComputeConstantResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ComputeConstantResponse* New() const final {
|
|
return CreateMaybeMessage<ComputeConstantResponse>(NULL);
|
|
}
|
|
|
|
ComputeConstantResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<ComputeConstantResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const ComputeConstantResponse& from);
|
|
void MergeFrom(const ComputeConstantResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ComputeConstantResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
bool has_literal() const;
|
|
void clear_literal();
|
|
static const int kLiteralFieldNumber = 1;
|
|
private:
|
|
const ::xla::LiteralProto& _internal_literal() const;
|
|
public:
|
|
const ::xla::LiteralProto& literal() const;
|
|
::xla::LiteralProto* release_literal();
|
|
::xla::LiteralProto* mutable_literal();
|
|
void set_allocated_literal(::xla::LiteralProto* literal);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.ComputeConstantResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::LiteralProto* literal_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DeconstructTupleRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.DeconstructTupleRequest) */ {
|
|
public:
|
|
DeconstructTupleRequest();
|
|
virtual ~DeconstructTupleRequest();
|
|
|
|
DeconstructTupleRequest(const DeconstructTupleRequest& from);
|
|
|
|
inline DeconstructTupleRequest& operator=(const DeconstructTupleRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
DeconstructTupleRequest(DeconstructTupleRequest&& from) noexcept
|
|
: DeconstructTupleRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DeconstructTupleRequest& operator=(DeconstructTupleRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const DeconstructTupleRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DeconstructTupleRequest* internal_default_instance() {
|
|
return reinterpret_cast<const DeconstructTupleRequest*>(
|
|
&_DeconstructTupleRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
30;
|
|
|
|
void Swap(DeconstructTupleRequest* other);
|
|
friend void swap(DeconstructTupleRequest& a, DeconstructTupleRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DeconstructTupleRequest* New() const final {
|
|
return CreateMaybeMessage<DeconstructTupleRequest>(NULL);
|
|
}
|
|
|
|
DeconstructTupleRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<DeconstructTupleRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const DeconstructTupleRequest& from);
|
|
void MergeFrom(const DeconstructTupleRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DeconstructTupleRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.GlobalDataHandle tuple_handle = 2;
|
|
bool has_tuple_handle() const;
|
|
void clear_tuple_handle();
|
|
static const int kTupleHandleFieldNumber = 2;
|
|
private:
|
|
const ::xla::GlobalDataHandle& _internal_tuple_handle() const;
|
|
public:
|
|
const ::xla::GlobalDataHandle& tuple_handle() const;
|
|
::xla::GlobalDataHandle* release_tuple_handle();
|
|
::xla::GlobalDataHandle* mutable_tuple_handle();
|
|
void set_allocated_tuple_handle(::xla::GlobalDataHandle* tuple_handle);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.DeconstructTupleRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::GlobalDataHandle* tuple_handle_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class DeconstructTupleResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.DeconstructTupleResponse) */ {
|
|
public:
|
|
DeconstructTupleResponse();
|
|
virtual ~DeconstructTupleResponse();
|
|
|
|
DeconstructTupleResponse(const DeconstructTupleResponse& from);
|
|
|
|
inline DeconstructTupleResponse& operator=(const DeconstructTupleResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
DeconstructTupleResponse(DeconstructTupleResponse&& from) noexcept
|
|
: DeconstructTupleResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DeconstructTupleResponse& operator=(DeconstructTupleResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const DeconstructTupleResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const DeconstructTupleResponse* internal_default_instance() {
|
|
return reinterpret_cast<const DeconstructTupleResponse*>(
|
|
&_DeconstructTupleResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
31;
|
|
|
|
void Swap(DeconstructTupleResponse* other);
|
|
friend void swap(DeconstructTupleResponse& a, DeconstructTupleResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline DeconstructTupleResponse* New() const final {
|
|
return CreateMaybeMessage<DeconstructTupleResponse>(NULL);
|
|
}
|
|
|
|
DeconstructTupleResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<DeconstructTupleResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const DeconstructTupleResponse& from);
|
|
void MergeFrom(const DeconstructTupleResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DeconstructTupleResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .xla.GlobalDataHandle element_handles = 1;
|
|
int element_handles_size() const;
|
|
void clear_element_handles();
|
|
static const int kElementHandlesFieldNumber = 1;
|
|
::xla::GlobalDataHandle* mutable_element_handles(int index);
|
|
::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >*
|
|
mutable_element_handles();
|
|
const ::xla::GlobalDataHandle& element_handles(int index) const;
|
|
::xla::GlobalDataHandle* add_element_handles();
|
|
const ::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >&
|
|
element_handles() const;
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.DeconstructTupleResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle > element_handles_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class LoadDataRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.LoadDataRequest) */ {
|
|
public:
|
|
LoadDataRequest();
|
|
virtual ~LoadDataRequest();
|
|
|
|
LoadDataRequest(const LoadDataRequest& from);
|
|
|
|
inline LoadDataRequest& operator=(const LoadDataRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
LoadDataRequest(LoadDataRequest&& from) noexcept
|
|
: LoadDataRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline LoadDataRequest& operator=(LoadDataRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const LoadDataRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const LoadDataRequest* internal_default_instance() {
|
|
return reinterpret_cast<const LoadDataRequest*>(
|
|
&_LoadDataRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
32;
|
|
|
|
void Swap(LoadDataRequest* other);
|
|
friend void swap(LoadDataRequest& a, LoadDataRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline LoadDataRequest* New() const final {
|
|
return CreateMaybeMessage<LoadDataRequest>(NULL);
|
|
}
|
|
|
|
LoadDataRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<LoadDataRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const LoadDataRequest& from);
|
|
void MergeFrom(const LoadDataRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(LoadDataRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// string columnio_tablet_path = 1;
|
|
void clear_columnio_tablet_path();
|
|
static const int kColumnioTabletPathFieldNumber = 1;
|
|
const ::std::string& columnio_tablet_path() const;
|
|
void set_columnio_tablet_path(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_columnio_tablet_path(::std::string&& value);
|
|
#endif
|
|
void set_columnio_tablet_path(const char* value);
|
|
void set_columnio_tablet_path(const char* value, size_t size);
|
|
::std::string* mutable_columnio_tablet_path();
|
|
::std::string* release_columnio_tablet_path();
|
|
void set_allocated_columnio_tablet_path(::std::string* columnio_tablet_path);
|
|
|
|
// string columnio_field = 2;
|
|
void clear_columnio_field();
|
|
static const int kColumnioFieldFieldNumber = 2;
|
|
const ::std::string& columnio_field() const;
|
|
void set_columnio_field(const ::std::string& value);
|
|
#if LANG_CXX11
|
|
void set_columnio_field(::std::string&& value);
|
|
#endif
|
|
void set_columnio_field(const char* value);
|
|
void set_columnio_field(const char* value, size_t size);
|
|
::std::string* mutable_columnio_field();
|
|
::std::string* release_columnio_field();
|
|
void set_allocated_columnio_field(::std::string* columnio_field);
|
|
|
|
// .xla.Shape element_shape = 3;
|
|
bool has_element_shape() const;
|
|
void clear_element_shape();
|
|
static const int kElementShapeFieldNumber = 3;
|
|
private:
|
|
const ::xla::Shape& _internal_element_shape() const;
|
|
public:
|
|
const ::xla::Shape& element_shape() const;
|
|
::xla::Shape* release_element_shape();
|
|
::xla::Shape* mutable_element_shape();
|
|
void set_allocated_element_shape(::xla::Shape* element_shape);
|
|
|
|
// int64 offset = 4;
|
|
void clear_offset();
|
|
static const int kOffsetFieldNumber = 4;
|
|
::google::protobuf::int64 offset() const;
|
|
void set_offset(::google::protobuf::int64 value);
|
|
|
|
// int64 limit = 5;
|
|
void clear_limit();
|
|
static const int kLimitFieldNumber = 5;
|
|
::google::protobuf::int64 limit() const;
|
|
void set_limit(::google::protobuf::int64 value);
|
|
|
|
// bool zip = 6;
|
|
void clear_zip();
|
|
static const int kZipFieldNumber = 6;
|
|
bool zip() const;
|
|
void set_zip(bool value);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.LoadDataRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::internal::ArenaStringPtr columnio_tablet_path_;
|
|
::google::protobuf::internal::ArenaStringPtr columnio_field_;
|
|
::xla::Shape* element_shape_;
|
|
::google::protobuf::int64 offset_;
|
|
::google::protobuf::int64 limit_;
|
|
bool zip_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class LoadDataResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.LoadDataResponse) */ {
|
|
public:
|
|
LoadDataResponse();
|
|
virtual ~LoadDataResponse();
|
|
|
|
LoadDataResponse(const LoadDataResponse& from);
|
|
|
|
inline LoadDataResponse& operator=(const LoadDataResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
LoadDataResponse(LoadDataResponse&& from) noexcept
|
|
: LoadDataResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline LoadDataResponse& operator=(LoadDataResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const LoadDataResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const LoadDataResponse* internal_default_instance() {
|
|
return reinterpret_cast<const LoadDataResponse*>(
|
|
&_LoadDataResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
33;
|
|
|
|
void Swap(LoadDataResponse* other);
|
|
friend void swap(LoadDataResponse& a, LoadDataResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline LoadDataResponse* New() const final {
|
|
return CreateMaybeMessage<LoadDataResponse>(NULL);
|
|
}
|
|
|
|
LoadDataResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<LoadDataResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const LoadDataResponse& from);
|
|
void MergeFrom(const LoadDataResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(LoadDataResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
bool has_data() const;
|
|
void clear_data();
|
|
static const int kDataFieldNumber = 1;
|
|
private:
|
|
const ::xla::GlobalDataHandle& _internal_data() const;
|
|
public:
|
|
const ::xla::GlobalDataHandle& data() const;
|
|
::xla::GlobalDataHandle* release_data();
|
|
::xla::GlobalDataHandle* mutable_data();
|
|
void set_allocated_data(::xla::GlobalDataHandle* data);
|
|
|
|
// .xla.Shape data_shape = 2;
|
|
bool has_data_shape() const;
|
|
void clear_data_shape();
|
|
static const int kDataShapeFieldNumber = 2;
|
|
private:
|
|
const ::xla::Shape& _internal_data_shape() const;
|
|
public:
|
|
const ::xla::Shape& data_shape() const;
|
|
::xla::Shape* release_data_shape();
|
|
::xla::Shape* mutable_data_shape();
|
|
void set_allocated_data_shape(::xla::Shape* data_shape);
|
|
|
|
// int64 available_rows = 3;
|
|
void clear_available_rows();
|
|
static const int kAvailableRowsFieldNumber = 3;
|
|
::google::protobuf::int64 available_rows() const;
|
|
void set_available_rows(::google::protobuf::int64 value);
|
|
|
|
// int64 rows_loaded = 4;
|
|
void clear_rows_loaded();
|
|
static const int kRowsLoadedFieldNumber = 4;
|
|
::google::protobuf::int64 rows_loaded() const;
|
|
void set_rows_loaded(::google::protobuf::int64 value);
|
|
|
|
// int64 nanoseconds = 5;
|
|
void clear_nanoseconds();
|
|
static const int kNanosecondsFieldNumber = 5;
|
|
::google::protobuf::int64 nanoseconds() const;
|
|
void set_nanoseconds(::google::protobuf::int64 value);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.LoadDataResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::GlobalDataHandle* data_;
|
|
::xla::Shape* data_shape_;
|
|
::google::protobuf::int64 available_rows_;
|
|
::google::protobuf::int64 rows_loaded_;
|
|
::google::protobuf::int64 nanoseconds_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetShapeRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.GetShapeRequest) */ {
|
|
public:
|
|
GetShapeRequest();
|
|
virtual ~GetShapeRequest();
|
|
|
|
GetShapeRequest(const GetShapeRequest& from);
|
|
|
|
inline GetShapeRequest& operator=(const GetShapeRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
GetShapeRequest(GetShapeRequest&& from) noexcept
|
|
: GetShapeRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline GetShapeRequest& operator=(GetShapeRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const GetShapeRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const GetShapeRequest* internal_default_instance() {
|
|
return reinterpret_cast<const GetShapeRequest*>(
|
|
&_GetShapeRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
34;
|
|
|
|
void Swap(GetShapeRequest* other);
|
|
friend void swap(GetShapeRequest& a, GetShapeRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetShapeRequest* New() const final {
|
|
return CreateMaybeMessage<GetShapeRequest>(NULL);
|
|
}
|
|
|
|
GetShapeRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<GetShapeRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const GetShapeRequest& from);
|
|
void MergeFrom(const GetShapeRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(GetShapeRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
bool has_data() const;
|
|
void clear_data();
|
|
static const int kDataFieldNumber = 1;
|
|
private:
|
|
const ::xla::GlobalDataHandle& _internal_data() const;
|
|
public:
|
|
const ::xla::GlobalDataHandle& data() const;
|
|
::xla::GlobalDataHandle* release_data();
|
|
::xla::GlobalDataHandle* mutable_data();
|
|
void set_allocated_data(::xla::GlobalDataHandle* data);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.GetShapeRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::GlobalDataHandle* data_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class GetShapeResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.GetShapeResponse) */ {
|
|
public:
|
|
GetShapeResponse();
|
|
virtual ~GetShapeResponse();
|
|
|
|
GetShapeResponse(const GetShapeResponse& from);
|
|
|
|
inline GetShapeResponse& operator=(const GetShapeResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
GetShapeResponse(GetShapeResponse&& from) noexcept
|
|
: GetShapeResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline GetShapeResponse& operator=(GetShapeResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const GetShapeResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const GetShapeResponse* internal_default_instance() {
|
|
return reinterpret_cast<const GetShapeResponse*>(
|
|
&_GetShapeResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
35;
|
|
|
|
void Swap(GetShapeResponse* other);
|
|
friend void swap(GetShapeResponse& a, GetShapeResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline GetShapeResponse* New() const final {
|
|
return CreateMaybeMessage<GetShapeResponse>(NULL);
|
|
}
|
|
|
|
GetShapeResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<GetShapeResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const GetShapeResponse& from);
|
|
void MergeFrom(const GetShapeResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(GetShapeResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.Shape shape = 1;
|
|
bool has_shape() const;
|
|
void clear_shape();
|
|
static const int kShapeFieldNumber = 1;
|
|
private:
|
|
const ::xla::Shape& _internal_shape() const;
|
|
public:
|
|
const ::xla::Shape& shape() const;
|
|
::xla::Shape* release_shape();
|
|
::xla::Shape* mutable_shape();
|
|
void set_allocated_shape(::xla::Shape* shape);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.GetShapeResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::Shape* shape_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class UnpackRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.UnpackRequest) */ {
|
|
public:
|
|
UnpackRequest();
|
|
virtual ~UnpackRequest();
|
|
|
|
UnpackRequest(const UnpackRequest& from);
|
|
|
|
inline UnpackRequest& operator=(const UnpackRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
UnpackRequest(UnpackRequest&& from) noexcept
|
|
: UnpackRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline UnpackRequest& operator=(UnpackRequest&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const UnpackRequest& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const UnpackRequest* internal_default_instance() {
|
|
return reinterpret_cast<const UnpackRequest*>(
|
|
&_UnpackRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
36;
|
|
|
|
void Swap(UnpackRequest* other);
|
|
friend void swap(UnpackRequest& a, UnpackRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline UnpackRequest* New() const final {
|
|
return CreateMaybeMessage<UnpackRequest>(NULL);
|
|
}
|
|
|
|
UnpackRequest* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<UnpackRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const UnpackRequest& from);
|
|
void MergeFrom(const UnpackRequest& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(UnpackRequest* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
bool has_data() const;
|
|
void clear_data();
|
|
static const int kDataFieldNumber = 1;
|
|
private:
|
|
const ::xla::GlobalDataHandle& _internal_data() const;
|
|
public:
|
|
const ::xla::GlobalDataHandle& data() const;
|
|
::xla::GlobalDataHandle* release_data();
|
|
::xla::GlobalDataHandle* mutable_data();
|
|
void set_allocated_data(::xla::GlobalDataHandle* data);
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.UnpackRequest)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::xla::GlobalDataHandle* data_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class UnpackResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:xla.UnpackResponse) */ {
|
|
public:
|
|
UnpackResponse();
|
|
virtual ~UnpackResponse();
|
|
|
|
UnpackResponse(const UnpackResponse& from);
|
|
|
|
inline UnpackResponse& operator=(const UnpackResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
#if LANG_CXX11
|
|
UnpackResponse(UnpackResponse&& from) noexcept
|
|
: UnpackResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline UnpackResponse& operator=(UnpackResponse&& from) noexcept {
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
#endif
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
static const UnpackResponse& default_instance();
|
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
static inline const UnpackResponse* internal_default_instance() {
|
|
return reinterpret_cast<const UnpackResponse*>(
|
|
&_UnpackResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
37;
|
|
|
|
void Swap(UnpackResponse* other);
|
|
friend void swap(UnpackResponse& a, UnpackResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline UnpackResponse* New() const final {
|
|
return CreateMaybeMessage<UnpackResponse>(NULL);
|
|
}
|
|
|
|
UnpackResponse* New(::google::protobuf::Arena* arena) const final {
|
|
return CreateMaybeMessage<UnpackResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::google::protobuf::Message& from) final;
|
|
void MergeFrom(const ::google::protobuf::Message& from) final;
|
|
void CopyFrom(const UnpackResponse& from);
|
|
void MergeFrom(const UnpackResponse& from);
|
|
void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
bool MergePartialFromCodedStream(
|
|
::google::protobuf::io::CodedInputStream* input) final;
|
|
void SerializeWithCachedSizes(
|
|
::google::protobuf::io::CodedOutputStream* output) const final;
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
bool deterministic, ::google::protobuf::uint8* target) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor();
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(UnpackResponse* other);
|
|
private:
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
return NULL;
|
|
}
|
|
inline void* MaybeArenaPtr() const {
|
|
return NULL;
|
|
}
|
|
public:
|
|
|
|
::google::protobuf::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
// repeated .xla.GlobalDataHandle tied_data = 1;
|
|
int tied_data_size() const;
|
|
void clear_tied_data();
|
|
static const int kTiedDataFieldNumber = 1;
|
|
::xla::GlobalDataHandle* mutable_tied_data(int index);
|
|
::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >*
|
|
mutable_tied_data();
|
|
const ::xla::GlobalDataHandle& tied_data(int index) const;
|
|
::xla::GlobalDataHandle* add_tied_data();
|
|
const ::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >&
|
|
tied_data() const;
|
|
|
|
// @@protoc_insertion_point(class_scope:xla.UnpackResponse)
|
|
private:
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle > tied_data_;
|
|
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
|
friend struct ::protobuf_tensorflow_2fcompiler_2fxla_2fxla_2eproto::TableStruct;
|
|
};
|
|
// ===================================================================
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// HloReducePrecisionOptions
|
|
|
|
// .xla.HloReducePrecisionOptions.Location location = 1;
|
|
inline void HloReducePrecisionOptions::clear_location() {
|
|
location_ = 0;
|
|
}
|
|
inline ::xla::HloReducePrecisionOptions_Location HloReducePrecisionOptions::location() const {
|
|
// @@protoc_insertion_point(field_get:xla.HloReducePrecisionOptions.location)
|
|
return static_cast< ::xla::HloReducePrecisionOptions_Location >(location_);
|
|
}
|
|
inline void HloReducePrecisionOptions::set_location(::xla::HloReducePrecisionOptions_Location value) {
|
|
|
|
location_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.HloReducePrecisionOptions.location)
|
|
}
|
|
|
|
// uint32 exponent_bits = 2;
|
|
inline void HloReducePrecisionOptions::clear_exponent_bits() {
|
|
exponent_bits_ = 0u;
|
|
}
|
|
inline ::google::protobuf::uint32 HloReducePrecisionOptions::exponent_bits() const {
|
|
// @@protoc_insertion_point(field_get:xla.HloReducePrecisionOptions.exponent_bits)
|
|
return exponent_bits_;
|
|
}
|
|
inline void HloReducePrecisionOptions::set_exponent_bits(::google::protobuf::uint32 value) {
|
|
|
|
exponent_bits_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.HloReducePrecisionOptions.exponent_bits)
|
|
}
|
|
|
|
// uint32 mantissa_bits = 3;
|
|
inline void HloReducePrecisionOptions::clear_mantissa_bits() {
|
|
mantissa_bits_ = 0u;
|
|
}
|
|
inline ::google::protobuf::uint32 HloReducePrecisionOptions::mantissa_bits() const {
|
|
// @@protoc_insertion_point(field_get:xla.HloReducePrecisionOptions.mantissa_bits)
|
|
return mantissa_bits_;
|
|
}
|
|
inline void HloReducePrecisionOptions::set_mantissa_bits(::google::protobuf::uint32 value) {
|
|
|
|
mantissa_bits_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.HloReducePrecisionOptions.mantissa_bits)
|
|
}
|
|
|
|
// repeated uint32 opcodes_to_suffix = 4;
|
|
inline int HloReducePrecisionOptions::opcodes_to_suffix_size() const {
|
|
return opcodes_to_suffix_.size();
|
|
}
|
|
inline void HloReducePrecisionOptions::clear_opcodes_to_suffix() {
|
|
opcodes_to_suffix_.Clear();
|
|
}
|
|
inline ::google::protobuf::uint32 HloReducePrecisionOptions::opcodes_to_suffix(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.HloReducePrecisionOptions.opcodes_to_suffix)
|
|
return opcodes_to_suffix_.Get(index);
|
|
}
|
|
inline void HloReducePrecisionOptions::set_opcodes_to_suffix(int index, ::google::protobuf::uint32 value) {
|
|
opcodes_to_suffix_.Set(index, value);
|
|
// @@protoc_insertion_point(field_set:xla.HloReducePrecisionOptions.opcodes_to_suffix)
|
|
}
|
|
inline void HloReducePrecisionOptions::add_opcodes_to_suffix(::google::protobuf::uint32 value) {
|
|
opcodes_to_suffix_.Add(value);
|
|
// @@protoc_insertion_point(field_add:xla.HloReducePrecisionOptions.opcodes_to_suffix)
|
|
}
|
|
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
|
HloReducePrecisionOptions::opcodes_to_suffix() const {
|
|
// @@protoc_insertion_point(field_list:xla.HloReducePrecisionOptions.opcodes_to_suffix)
|
|
return opcodes_to_suffix_;
|
|
}
|
|
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
|
HloReducePrecisionOptions::mutable_opcodes_to_suffix() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.HloReducePrecisionOptions.opcodes_to_suffix)
|
|
return &opcodes_to_suffix_;
|
|
}
|
|
|
|
// repeated string opname_substrings_to_suffix = 5;
|
|
inline int HloReducePrecisionOptions::opname_substrings_to_suffix_size() const {
|
|
return opname_substrings_to_suffix_.size();
|
|
}
|
|
inline void HloReducePrecisionOptions::clear_opname_substrings_to_suffix() {
|
|
opname_substrings_to_suffix_.Clear();
|
|
}
|
|
inline const ::std::string& HloReducePrecisionOptions::opname_substrings_to_suffix(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
return opname_substrings_to_suffix_.Get(index);
|
|
}
|
|
inline ::std::string* HloReducePrecisionOptions::mutable_opname_substrings_to_suffix(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
return opname_substrings_to_suffix_.Mutable(index);
|
|
}
|
|
inline void HloReducePrecisionOptions::set_opname_substrings_to_suffix(int index, const ::std::string& value) {
|
|
// @@protoc_insertion_point(field_set:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
opname_substrings_to_suffix_.Mutable(index)->assign(value);
|
|
}
|
|
#if LANG_CXX11
|
|
inline void HloReducePrecisionOptions::set_opname_substrings_to_suffix(int index, ::std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
opname_substrings_to_suffix_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
#endif
|
|
inline void HloReducePrecisionOptions::set_opname_substrings_to_suffix(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
opname_substrings_to_suffix_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
}
|
|
inline void HloReducePrecisionOptions::set_opname_substrings_to_suffix(int index, const char* value, size_t size) {
|
|
opname_substrings_to_suffix_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
}
|
|
inline ::std::string* HloReducePrecisionOptions::add_opname_substrings_to_suffix() {
|
|
// @@protoc_insertion_point(field_add_mutable:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
return opname_substrings_to_suffix_.Add();
|
|
}
|
|
inline void HloReducePrecisionOptions::add_opname_substrings_to_suffix(const ::std::string& value) {
|
|
opname_substrings_to_suffix_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void HloReducePrecisionOptions::add_opname_substrings_to_suffix(::std::string&& value) {
|
|
opname_substrings_to_suffix_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
}
|
|
#endif
|
|
inline void HloReducePrecisionOptions::add_opname_substrings_to_suffix(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
opname_substrings_to_suffix_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
}
|
|
inline void HloReducePrecisionOptions::add_opname_substrings_to_suffix(const char* value, size_t size) {
|
|
opname_substrings_to_suffix_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
|
|
HloReducePrecisionOptions::opname_substrings_to_suffix() const {
|
|
// @@protoc_insertion_point(field_list:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
return opname_substrings_to_suffix_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
|
|
HloReducePrecisionOptions::mutable_opname_substrings_to_suffix() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.HloReducePrecisionOptions.opname_substrings_to_suffix)
|
|
return &opname_substrings_to_suffix_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DebugOptions
|
|
|
|
// string xla_generate_hlo_graph = 1;
|
|
inline void DebugOptions::clear_xla_generate_hlo_graph() {
|
|
xla_generate_hlo_graph_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_generate_hlo_graph() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_generate_hlo_graph)
|
|
return xla_generate_hlo_graph_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_generate_hlo_graph(const ::std::string& value) {
|
|
|
|
xla_generate_hlo_graph_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_generate_hlo_graph)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_generate_hlo_graph(::std::string&& value) {
|
|
|
|
xla_generate_hlo_graph_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_generate_hlo_graph)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_generate_hlo_graph(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_generate_hlo_graph_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_generate_hlo_graph)
|
|
}
|
|
inline void DebugOptions::set_xla_generate_hlo_graph(const char* value, size_t size) {
|
|
|
|
xla_generate_hlo_graph_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_generate_hlo_graph)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_generate_hlo_graph() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_generate_hlo_graph)
|
|
return xla_generate_hlo_graph_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_generate_hlo_graph() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_generate_hlo_graph)
|
|
|
|
return xla_generate_hlo_graph_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_generate_hlo_graph(::std::string* xla_generate_hlo_graph) {
|
|
if (xla_generate_hlo_graph != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_generate_hlo_graph_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_generate_hlo_graph);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_generate_hlo_graph)
|
|
}
|
|
|
|
// bool xla_hlo_graph_addresses = 2;
|
|
inline void DebugOptions::clear_xla_hlo_graph_addresses() {
|
|
xla_hlo_graph_addresses_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_hlo_graph_addresses() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_hlo_graph_addresses)
|
|
return xla_hlo_graph_addresses_;
|
|
}
|
|
inline void DebugOptions::set_xla_hlo_graph_addresses(bool value) {
|
|
|
|
xla_hlo_graph_addresses_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_hlo_graph_addresses)
|
|
}
|
|
|
|
// string xla_hlo_graph_path = 4;
|
|
inline void DebugOptions::clear_xla_hlo_graph_path() {
|
|
xla_hlo_graph_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_hlo_graph_path() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_hlo_graph_path)
|
|
return xla_hlo_graph_path_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_hlo_graph_path(const ::std::string& value) {
|
|
|
|
xla_hlo_graph_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_hlo_graph_path)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_hlo_graph_path(::std::string&& value) {
|
|
|
|
xla_hlo_graph_path_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_hlo_graph_path)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_hlo_graph_path(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_hlo_graph_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_hlo_graph_path)
|
|
}
|
|
inline void DebugOptions::set_xla_hlo_graph_path(const char* value, size_t size) {
|
|
|
|
xla_hlo_graph_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_hlo_graph_path)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_hlo_graph_path() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_hlo_graph_path)
|
|
return xla_hlo_graph_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_hlo_graph_path() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_hlo_graph_path)
|
|
|
|
return xla_hlo_graph_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_hlo_graph_path(::std::string* xla_hlo_graph_path) {
|
|
if (xla_hlo_graph_path != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_hlo_graph_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_hlo_graph_path);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_hlo_graph_path)
|
|
}
|
|
|
|
// bool xla_hlo_dump_as_graphdef = 5;
|
|
inline void DebugOptions::clear_xla_hlo_dump_as_graphdef() {
|
|
xla_hlo_dump_as_graphdef_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_hlo_dump_as_graphdef() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_hlo_dump_as_graphdef)
|
|
return xla_hlo_dump_as_graphdef_;
|
|
}
|
|
inline void DebugOptions::set_xla_hlo_dump_as_graphdef(bool value) {
|
|
|
|
xla_hlo_dump_as_graphdef_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_hlo_dump_as_graphdef)
|
|
}
|
|
|
|
// string xla_log_hlo_text = 6;
|
|
inline void DebugOptions::clear_xla_log_hlo_text() {
|
|
xla_log_hlo_text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_log_hlo_text() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_log_hlo_text)
|
|
return xla_log_hlo_text_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_log_hlo_text(const ::std::string& value) {
|
|
|
|
xla_log_hlo_text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_log_hlo_text)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_log_hlo_text(::std::string&& value) {
|
|
|
|
xla_log_hlo_text_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_log_hlo_text)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_log_hlo_text(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_log_hlo_text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_log_hlo_text)
|
|
}
|
|
inline void DebugOptions::set_xla_log_hlo_text(const char* value, size_t size) {
|
|
|
|
xla_log_hlo_text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_log_hlo_text)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_log_hlo_text() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_log_hlo_text)
|
|
return xla_log_hlo_text_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_log_hlo_text() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_log_hlo_text)
|
|
|
|
return xla_log_hlo_text_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_log_hlo_text(::std::string* xla_log_hlo_text) {
|
|
if (xla_log_hlo_text != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_log_hlo_text_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_log_hlo_text);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_log_hlo_text)
|
|
}
|
|
|
|
// string xla_generate_hlo_text_to = 7;
|
|
inline void DebugOptions::clear_xla_generate_hlo_text_to() {
|
|
xla_generate_hlo_text_to_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_generate_hlo_text_to() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_generate_hlo_text_to)
|
|
return xla_generate_hlo_text_to_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_generate_hlo_text_to(const ::std::string& value) {
|
|
|
|
xla_generate_hlo_text_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_generate_hlo_text_to)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_generate_hlo_text_to(::std::string&& value) {
|
|
|
|
xla_generate_hlo_text_to_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_generate_hlo_text_to)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_generate_hlo_text_to(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_generate_hlo_text_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_generate_hlo_text_to)
|
|
}
|
|
inline void DebugOptions::set_xla_generate_hlo_text_to(const char* value, size_t size) {
|
|
|
|
xla_generate_hlo_text_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_generate_hlo_text_to)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_generate_hlo_text_to() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_generate_hlo_text_to)
|
|
return xla_generate_hlo_text_to_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_generate_hlo_text_to() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_generate_hlo_text_to)
|
|
|
|
return xla_generate_hlo_text_to_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_generate_hlo_text_to(::std::string* xla_generate_hlo_text_to) {
|
|
if (xla_generate_hlo_text_to != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_generate_hlo_text_to_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_generate_hlo_text_to);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_generate_hlo_text_to)
|
|
}
|
|
|
|
// string xla_dump_optimized_hlo_proto_to = 8;
|
|
inline void DebugOptions::clear_xla_dump_optimized_hlo_proto_to() {
|
|
xla_dump_optimized_hlo_proto_to_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_dump_optimized_hlo_proto_to() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_dump_optimized_hlo_proto_to)
|
|
return xla_dump_optimized_hlo_proto_to_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_dump_optimized_hlo_proto_to(const ::std::string& value) {
|
|
|
|
xla_dump_optimized_hlo_proto_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_dump_optimized_hlo_proto_to)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_dump_optimized_hlo_proto_to(::std::string&& value) {
|
|
|
|
xla_dump_optimized_hlo_proto_to_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_dump_optimized_hlo_proto_to)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_dump_optimized_hlo_proto_to(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_dump_optimized_hlo_proto_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_dump_optimized_hlo_proto_to)
|
|
}
|
|
inline void DebugOptions::set_xla_dump_optimized_hlo_proto_to(const char* value, size_t size) {
|
|
|
|
xla_dump_optimized_hlo_proto_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_dump_optimized_hlo_proto_to)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_dump_optimized_hlo_proto_to() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_dump_optimized_hlo_proto_to)
|
|
return xla_dump_optimized_hlo_proto_to_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_dump_optimized_hlo_proto_to() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_dump_optimized_hlo_proto_to)
|
|
|
|
return xla_dump_optimized_hlo_proto_to_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_dump_optimized_hlo_proto_to(::std::string* xla_dump_optimized_hlo_proto_to) {
|
|
if (xla_dump_optimized_hlo_proto_to != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_dump_optimized_hlo_proto_to_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_dump_optimized_hlo_proto_to);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_dump_optimized_hlo_proto_to)
|
|
}
|
|
|
|
// bool xla_hlo_profile = 9;
|
|
inline void DebugOptions::clear_xla_hlo_profile() {
|
|
xla_hlo_profile_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_hlo_profile() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_hlo_profile)
|
|
return xla_hlo_profile_;
|
|
}
|
|
inline void DebugOptions::set_xla_hlo_profile(bool value) {
|
|
|
|
xla_hlo_profile_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_hlo_profile)
|
|
}
|
|
|
|
// string xla_dump_computations_to = 10;
|
|
inline void DebugOptions::clear_xla_dump_computations_to() {
|
|
xla_dump_computations_to_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_dump_computations_to() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_dump_computations_to)
|
|
return xla_dump_computations_to_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_dump_computations_to(const ::std::string& value) {
|
|
|
|
xla_dump_computations_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_dump_computations_to)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_dump_computations_to(::std::string&& value) {
|
|
|
|
xla_dump_computations_to_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_dump_computations_to)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_dump_computations_to(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_dump_computations_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_dump_computations_to)
|
|
}
|
|
inline void DebugOptions::set_xla_dump_computations_to(const char* value, size_t size) {
|
|
|
|
xla_dump_computations_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_dump_computations_to)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_dump_computations_to() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_dump_computations_to)
|
|
return xla_dump_computations_to_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_dump_computations_to() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_dump_computations_to)
|
|
|
|
return xla_dump_computations_to_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_dump_computations_to(::std::string* xla_dump_computations_to) {
|
|
if (xla_dump_computations_to != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_dump_computations_to_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_dump_computations_to);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_dump_computations_to)
|
|
}
|
|
|
|
// string xla_dump_executions_to = 11;
|
|
inline void DebugOptions::clear_xla_dump_executions_to() {
|
|
xla_dump_executions_to_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_dump_executions_to() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_dump_executions_to)
|
|
return xla_dump_executions_to_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_dump_executions_to(const ::std::string& value) {
|
|
|
|
xla_dump_executions_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_dump_executions_to)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_dump_executions_to(::std::string&& value) {
|
|
|
|
xla_dump_executions_to_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_dump_executions_to)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_dump_executions_to(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_dump_executions_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_dump_executions_to)
|
|
}
|
|
inline void DebugOptions::set_xla_dump_executions_to(const char* value, size_t size) {
|
|
|
|
xla_dump_executions_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_dump_executions_to)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_dump_executions_to() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_dump_executions_to)
|
|
return xla_dump_executions_to_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_dump_executions_to() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_dump_executions_to)
|
|
|
|
return xla_dump_executions_to_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_dump_executions_to(::std::string* xla_dump_executions_to) {
|
|
if (xla_dump_executions_to != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_dump_executions_to_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_dump_executions_to);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_dump_executions_to)
|
|
}
|
|
|
|
// repeated string xla_disable_hlo_passes = 30;
|
|
inline int DebugOptions::xla_disable_hlo_passes_size() const {
|
|
return xla_disable_hlo_passes_.size();
|
|
}
|
|
inline void DebugOptions::clear_xla_disable_hlo_passes() {
|
|
xla_disable_hlo_passes_.Clear();
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_disable_hlo_passes(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_disable_hlo_passes)
|
|
return xla_disable_hlo_passes_.Get(index);
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_disable_hlo_passes(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_disable_hlo_passes)
|
|
return xla_disable_hlo_passes_.Mutable(index);
|
|
}
|
|
inline void DebugOptions::set_xla_disable_hlo_passes(int index, const ::std::string& value) {
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_disable_hlo_passes)
|
|
xla_disable_hlo_passes_.Mutable(index)->assign(value);
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_disable_hlo_passes(int index, ::std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_disable_hlo_passes)
|
|
xla_disable_hlo_passes_.Mutable(index)->assign(std::move(value));
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_disable_hlo_passes(int index, const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
xla_disable_hlo_passes_.Mutable(index)->assign(value);
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_disable_hlo_passes)
|
|
}
|
|
inline void DebugOptions::set_xla_disable_hlo_passes(int index, const char* value, size_t size) {
|
|
xla_disable_hlo_passes_.Mutable(index)->assign(
|
|
reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_disable_hlo_passes)
|
|
}
|
|
inline ::std::string* DebugOptions::add_xla_disable_hlo_passes() {
|
|
// @@protoc_insertion_point(field_add_mutable:xla.DebugOptions.xla_disable_hlo_passes)
|
|
return xla_disable_hlo_passes_.Add();
|
|
}
|
|
inline void DebugOptions::add_xla_disable_hlo_passes(const ::std::string& value) {
|
|
xla_disable_hlo_passes_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add:xla.DebugOptions.xla_disable_hlo_passes)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::add_xla_disable_hlo_passes(::std::string&& value) {
|
|
xla_disable_hlo_passes_.Add(std::move(value));
|
|
// @@protoc_insertion_point(field_add:xla.DebugOptions.xla_disable_hlo_passes)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::add_xla_disable_hlo_passes(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
xla_disable_hlo_passes_.Add()->assign(value);
|
|
// @@protoc_insertion_point(field_add_char:xla.DebugOptions.xla_disable_hlo_passes)
|
|
}
|
|
inline void DebugOptions::add_xla_disable_hlo_passes(const char* value, size_t size) {
|
|
xla_disable_hlo_passes_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
|
// @@protoc_insertion_point(field_add_pointer:xla.DebugOptions.xla_disable_hlo_passes)
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
|
|
DebugOptions::xla_disable_hlo_passes() const {
|
|
// @@protoc_insertion_point(field_list:xla.DebugOptions.xla_disable_hlo_passes)
|
|
return xla_disable_hlo_passes_;
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
|
|
DebugOptions::mutable_xla_disable_hlo_passes() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.DebugOptions.xla_disable_hlo_passes)
|
|
return &xla_disable_hlo_passes_;
|
|
}
|
|
|
|
// int32 xla_backend_optimization_level = 31;
|
|
inline void DebugOptions::clear_xla_backend_optimization_level() {
|
|
xla_backend_optimization_level_ = 0;
|
|
}
|
|
inline ::google::protobuf::int32 DebugOptions::xla_backend_optimization_level() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_backend_optimization_level)
|
|
return xla_backend_optimization_level_;
|
|
}
|
|
inline void DebugOptions::set_xla_backend_optimization_level(::google::protobuf::int32 value) {
|
|
|
|
xla_backend_optimization_level_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_backend_optimization_level)
|
|
}
|
|
|
|
// bool xla_embed_ir_in_executable = 33;
|
|
inline void DebugOptions::clear_xla_embed_ir_in_executable() {
|
|
xla_embed_ir_in_executable_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_embed_ir_in_executable() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_embed_ir_in_executable)
|
|
return xla_embed_ir_in_executable_;
|
|
}
|
|
inline void DebugOptions::set_xla_embed_ir_in_executable(bool value) {
|
|
|
|
xla_embed_ir_in_executable_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_embed_ir_in_executable)
|
|
}
|
|
|
|
// string xla_dump_ir_to = 34;
|
|
inline void DebugOptions::clear_xla_dump_ir_to() {
|
|
xla_dump_ir_to_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_dump_ir_to() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_dump_ir_to)
|
|
return xla_dump_ir_to_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_dump_ir_to(const ::std::string& value) {
|
|
|
|
xla_dump_ir_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_dump_ir_to)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_dump_ir_to(::std::string&& value) {
|
|
|
|
xla_dump_ir_to_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_dump_ir_to)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_dump_ir_to(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_dump_ir_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_dump_ir_to)
|
|
}
|
|
inline void DebugOptions::set_xla_dump_ir_to(const char* value, size_t size) {
|
|
|
|
xla_dump_ir_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_dump_ir_to)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_dump_ir_to() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_dump_ir_to)
|
|
return xla_dump_ir_to_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_dump_ir_to() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_dump_ir_to)
|
|
|
|
return xla_dump_ir_to_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_dump_ir_to(::std::string* xla_dump_ir_to) {
|
|
if (xla_dump_ir_to != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_dump_ir_to_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_dump_ir_to);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_dump_ir_to)
|
|
}
|
|
|
|
// bool xla_eliminate_hlo_implicit_broadcast = 35;
|
|
inline void DebugOptions::clear_xla_eliminate_hlo_implicit_broadcast() {
|
|
xla_eliminate_hlo_implicit_broadcast_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_eliminate_hlo_implicit_broadcast() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_eliminate_hlo_implicit_broadcast)
|
|
return xla_eliminate_hlo_implicit_broadcast_;
|
|
}
|
|
inline void DebugOptions::set_xla_eliminate_hlo_implicit_broadcast(bool value) {
|
|
|
|
xla_eliminate_hlo_implicit_broadcast_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_eliminate_hlo_implicit_broadcast)
|
|
}
|
|
|
|
// bool xla_cpu_multi_thread_eigen = 60;
|
|
inline void DebugOptions::clear_xla_cpu_multi_thread_eigen() {
|
|
xla_cpu_multi_thread_eigen_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_cpu_multi_thread_eigen() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_cpu_multi_thread_eigen)
|
|
return xla_cpu_multi_thread_eigen_;
|
|
}
|
|
inline void DebugOptions::set_xla_cpu_multi_thread_eigen(bool value) {
|
|
|
|
xla_cpu_multi_thread_eigen_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_cpu_multi_thread_eigen)
|
|
}
|
|
|
|
// string xla_gpu_cuda_data_dir = 61;
|
|
inline void DebugOptions::clear_xla_gpu_cuda_data_dir() {
|
|
xla_gpu_cuda_data_dir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_gpu_cuda_data_dir() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_gpu_cuda_data_dir)
|
|
return xla_gpu_cuda_data_dir_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_gpu_cuda_data_dir(const ::std::string& value) {
|
|
|
|
xla_gpu_cuda_data_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_gpu_cuda_data_dir)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_gpu_cuda_data_dir(::std::string&& value) {
|
|
|
|
xla_gpu_cuda_data_dir_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_gpu_cuda_data_dir)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_gpu_cuda_data_dir(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_gpu_cuda_data_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_gpu_cuda_data_dir)
|
|
}
|
|
inline void DebugOptions::set_xla_gpu_cuda_data_dir(const char* value, size_t size) {
|
|
|
|
xla_gpu_cuda_data_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_gpu_cuda_data_dir)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_gpu_cuda_data_dir() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_gpu_cuda_data_dir)
|
|
return xla_gpu_cuda_data_dir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_gpu_cuda_data_dir() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_gpu_cuda_data_dir)
|
|
|
|
return xla_gpu_cuda_data_dir_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_gpu_cuda_data_dir(::std::string* xla_gpu_cuda_data_dir) {
|
|
if (xla_gpu_cuda_data_dir != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_gpu_cuda_data_dir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_gpu_cuda_data_dir);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_gpu_cuda_data_dir)
|
|
}
|
|
|
|
// bool xla_gpu_ftz = 62;
|
|
inline void DebugOptions::clear_xla_gpu_ftz() {
|
|
xla_gpu_ftz_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_gpu_ftz() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_gpu_ftz)
|
|
return xla_gpu_ftz_;
|
|
}
|
|
inline void DebugOptions::set_xla_gpu_ftz(bool value) {
|
|
|
|
xla_gpu_ftz_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_gpu_ftz)
|
|
}
|
|
|
|
// bool xla_gpu_disable_multi_streaming = 63;
|
|
inline void DebugOptions::clear_xla_gpu_disable_multi_streaming() {
|
|
xla_gpu_disable_multi_streaming_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_gpu_disable_multi_streaming() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_gpu_disable_multi_streaming)
|
|
return xla_gpu_disable_multi_streaming_;
|
|
}
|
|
inline void DebugOptions::set_xla_gpu_disable_multi_streaming(bool value) {
|
|
|
|
xla_gpu_disable_multi_streaming_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_gpu_disable_multi_streaming)
|
|
}
|
|
|
|
// bool xla_llvm_enable_alias_scope_metadata = 70;
|
|
inline void DebugOptions::clear_xla_llvm_enable_alias_scope_metadata() {
|
|
xla_llvm_enable_alias_scope_metadata_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_llvm_enable_alias_scope_metadata() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_llvm_enable_alias_scope_metadata)
|
|
return xla_llvm_enable_alias_scope_metadata_;
|
|
}
|
|
inline void DebugOptions::set_xla_llvm_enable_alias_scope_metadata(bool value) {
|
|
|
|
xla_llvm_enable_alias_scope_metadata_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_llvm_enable_alias_scope_metadata)
|
|
}
|
|
|
|
// bool xla_llvm_enable_noalias_metadata = 71;
|
|
inline void DebugOptions::clear_xla_llvm_enable_noalias_metadata() {
|
|
xla_llvm_enable_noalias_metadata_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_llvm_enable_noalias_metadata() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_llvm_enable_noalias_metadata)
|
|
return xla_llvm_enable_noalias_metadata_;
|
|
}
|
|
inline void DebugOptions::set_xla_llvm_enable_noalias_metadata(bool value) {
|
|
|
|
xla_llvm_enable_noalias_metadata_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_llvm_enable_noalias_metadata)
|
|
}
|
|
|
|
// bool xla_llvm_enable_invariant_load_metadata = 72;
|
|
inline void DebugOptions::clear_xla_llvm_enable_invariant_load_metadata() {
|
|
xla_llvm_enable_invariant_load_metadata_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_llvm_enable_invariant_load_metadata() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_llvm_enable_invariant_load_metadata)
|
|
return xla_llvm_enable_invariant_load_metadata_;
|
|
}
|
|
inline void DebugOptions::set_xla_llvm_enable_invariant_load_metadata(bool value) {
|
|
|
|
xla_llvm_enable_invariant_load_metadata_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_llvm_enable_invariant_load_metadata)
|
|
}
|
|
|
|
// bool xla_llvm_disable_expensive_passes = 73;
|
|
inline void DebugOptions::clear_xla_llvm_disable_expensive_passes() {
|
|
xla_llvm_disable_expensive_passes_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_llvm_disable_expensive_passes() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_llvm_disable_expensive_passes)
|
|
return xla_llvm_disable_expensive_passes_;
|
|
}
|
|
inline void DebugOptions::set_xla_llvm_disable_expensive_passes(bool value) {
|
|
|
|
xla_llvm_disable_expensive_passes_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_llvm_disable_expensive_passes)
|
|
}
|
|
|
|
// repeated .xla.HloReducePrecisionOptions hlo_reduce_precision_options = 80;
|
|
inline int DebugOptions::hlo_reduce_precision_options_size() const {
|
|
return hlo_reduce_precision_options_.size();
|
|
}
|
|
inline void DebugOptions::clear_hlo_reduce_precision_options() {
|
|
hlo_reduce_precision_options_.Clear();
|
|
}
|
|
inline ::xla::HloReducePrecisionOptions* DebugOptions::mutable_hlo_reduce_precision_options(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.hlo_reduce_precision_options)
|
|
return hlo_reduce_precision_options_.Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::xla::HloReducePrecisionOptions >*
|
|
DebugOptions::mutable_hlo_reduce_precision_options() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.DebugOptions.hlo_reduce_precision_options)
|
|
return &hlo_reduce_precision_options_;
|
|
}
|
|
inline const ::xla::HloReducePrecisionOptions& DebugOptions::hlo_reduce_precision_options(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.hlo_reduce_precision_options)
|
|
return hlo_reduce_precision_options_.Get(index);
|
|
}
|
|
inline ::xla::HloReducePrecisionOptions* DebugOptions::add_hlo_reduce_precision_options() {
|
|
// @@protoc_insertion_point(field_add:xla.DebugOptions.hlo_reduce_precision_options)
|
|
return hlo_reduce_precision_options_.Add();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::xla::HloReducePrecisionOptions >&
|
|
DebugOptions::hlo_reduce_precision_options() const {
|
|
// @@protoc_insertion_point(field_list:xla.DebugOptions.hlo_reduce_precision_options)
|
|
return hlo_reduce_precision_options_;
|
|
}
|
|
|
|
// bool xla_test_all_output_layouts = 90;
|
|
inline void DebugOptions::clear_xla_test_all_output_layouts() {
|
|
xla_test_all_output_layouts_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_test_all_output_layouts() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_test_all_output_layouts)
|
|
return xla_test_all_output_layouts_;
|
|
}
|
|
inline void DebugOptions::set_xla_test_all_output_layouts(bool value) {
|
|
|
|
xla_test_all_output_layouts_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_test_all_output_layouts)
|
|
}
|
|
|
|
// bool xla_test_all_input_layouts = 91;
|
|
inline void DebugOptions::clear_xla_test_all_input_layouts() {
|
|
xla_test_all_input_layouts_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_test_all_input_layouts() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_test_all_input_layouts)
|
|
return xla_test_all_input_layouts_;
|
|
}
|
|
inline void DebugOptions::set_xla_test_all_input_layouts(bool value) {
|
|
|
|
xla_test_all_input_layouts_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_test_all_input_layouts)
|
|
}
|
|
|
|
// bool xla_hlo_graph_sharding_color = 92;
|
|
inline void DebugOptions::clear_xla_hlo_graph_sharding_color() {
|
|
xla_hlo_graph_sharding_color_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_hlo_graph_sharding_color() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_hlo_graph_sharding_color)
|
|
return xla_hlo_graph_sharding_color_;
|
|
}
|
|
inline void DebugOptions::set_xla_hlo_graph_sharding_color(bool value) {
|
|
|
|
xla_hlo_graph_sharding_color_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_hlo_graph_sharding_color)
|
|
}
|
|
|
|
// bool xla_hlo_tfgraph_device_scopes = 93;
|
|
inline void DebugOptions::clear_xla_hlo_tfgraph_device_scopes() {
|
|
xla_hlo_tfgraph_device_scopes_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_hlo_tfgraph_device_scopes() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_hlo_tfgraph_device_scopes)
|
|
return xla_hlo_tfgraph_device_scopes_;
|
|
}
|
|
inline void DebugOptions::set_xla_hlo_tfgraph_device_scopes(bool value) {
|
|
|
|
xla_hlo_tfgraph_device_scopes_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_hlo_tfgraph_device_scopes)
|
|
}
|
|
|
|
// bool xla_gpu_use_cudnn_batchnorm = 94;
|
|
inline void DebugOptions::clear_xla_gpu_use_cudnn_batchnorm() {
|
|
xla_gpu_use_cudnn_batchnorm_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_gpu_use_cudnn_batchnorm() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_gpu_use_cudnn_batchnorm)
|
|
return xla_gpu_use_cudnn_batchnorm_;
|
|
}
|
|
inline void DebugOptions::set_xla_gpu_use_cudnn_batchnorm(bool value) {
|
|
|
|
xla_gpu_use_cudnn_batchnorm_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_gpu_use_cudnn_batchnorm)
|
|
}
|
|
|
|
// string xla_dump_unoptimized_hlo_proto_to = 95;
|
|
inline void DebugOptions::clear_xla_dump_unoptimized_hlo_proto_to() {
|
|
xla_dump_unoptimized_hlo_proto_to_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_dump_unoptimized_hlo_proto_to() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_dump_unoptimized_hlo_proto_to)
|
|
return xla_dump_unoptimized_hlo_proto_to_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_dump_unoptimized_hlo_proto_to(const ::std::string& value) {
|
|
|
|
xla_dump_unoptimized_hlo_proto_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_dump_unoptimized_hlo_proto_to)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_dump_unoptimized_hlo_proto_to(::std::string&& value) {
|
|
|
|
xla_dump_unoptimized_hlo_proto_to_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_dump_unoptimized_hlo_proto_to)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_dump_unoptimized_hlo_proto_to(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_dump_unoptimized_hlo_proto_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_dump_unoptimized_hlo_proto_to)
|
|
}
|
|
inline void DebugOptions::set_xla_dump_unoptimized_hlo_proto_to(const char* value, size_t size) {
|
|
|
|
xla_dump_unoptimized_hlo_proto_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_dump_unoptimized_hlo_proto_to)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_dump_unoptimized_hlo_proto_to() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_dump_unoptimized_hlo_proto_to)
|
|
return xla_dump_unoptimized_hlo_proto_to_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_dump_unoptimized_hlo_proto_to() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_dump_unoptimized_hlo_proto_to)
|
|
|
|
return xla_dump_unoptimized_hlo_proto_to_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_dump_unoptimized_hlo_proto_to(::std::string* xla_dump_unoptimized_hlo_proto_to) {
|
|
if (xla_dump_unoptimized_hlo_proto_to != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_dump_unoptimized_hlo_proto_to_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_dump_unoptimized_hlo_proto_to);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_dump_unoptimized_hlo_proto_to)
|
|
}
|
|
|
|
// string xla_dump_per_pass_hlo_proto_to = 96;
|
|
inline void DebugOptions::clear_xla_dump_per_pass_hlo_proto_to() {
|
|
xla_dump_per_pass_hlo_proto_to_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& DebugOptions::xla_dump_per_pass_hlo_proto_to() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_dump_per_pass_hlo_proto_to)
|
|
return xla_dump_per_pass_hlo_proto_to_.GetNoArena();
|
|
}
|
|
inline void DebugOptions::set_xla_dump_per_pass_hlo_proto_to(const ::std::string& value) {
|
|
|
|
xla_dump_per_pass_hlo_proto_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_dump_per_pass_hlo_proto_to)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void DebugOptions::set_xla_dump_per_pass_hlo_proto_to(::std::string&& value) {
|
|
|
|
xla_dump_per_pass_hlo_proto_to_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.DebugOptions.xla_dump_per_pass_hlo_proto_to)
|
|
}
|
|
#endif
|
|
inline void DebugOptions::set_xla_dump_per_pass_hlo_proto_to(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
xla_dump_per_pass_hlo_proto_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.DebugOptions.xla_dump_per_pass_hlo_proto_to)
|
|
}
|
|
inline void DebugOptions::set_xla_dump_per_pass_hlo_proto_to(const char* value, size_t size) {
|
|
|
|
xla_dump_per_pass_hlo_proto_to_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.DebugOptions.xla_dump_per_pass_hlo_proto_to)
|
|
}
|
|
inline ::std::string* DebugOptions::mutable_xla_dump_per_pass_hlo_proto_to() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.DebugOptions.xla_dump_per_pass_hlo_proto_to)
|
|
return xla_dump_per_pass_hlo_proto_to_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* DebugOptions::release_xla_dump_per_pass_hlo_proto_to() {
|
|
// @@protoc_insertion_point(field_release:xla.DebugOptions.xla_dump_per_pass_hlo_proto_to)
|
|
|
|
return xla_dump_per_pass_hlo_proto_to_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void DebugOptions::set_allocated_xla_dump_per_pass_hlo_proto_to(::std::string* xla_dump_per_pass_hlo_proto_to) {
|
|
if (xla_dump_per_pass_hlo_proto_to != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
xla_dump_per_pass_hlo_proto_to_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xla_dump_per_pass_hlo_proto_to);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DebugOptions.xla_dump_per_pass_hlo_proto_to)
|
|
}
|
|
|
|
// bool xla_cpu_use_mkl_dnn = 97;
|
|
inline void DebugOptions::clear_xla_cpu_use_mkl_dnn() {
|
|
xla_cpu_use_mkl_dnn_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_cpu_use_mkl_dnn() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_cpu_use_mkl_dnn)
|
|
return xla_cpu_use_mkl_dnn_;
|
|
}
|
|
inline void DebugOptions::set_xla_cpu_use_mkl_dnn(bool value) {
|
|
|
|
xla_cpu_use_mkl_dnn_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_cpu_use_mkl_dnn)
|
|
}
|
|
|
|
// int32 xla_gpu_max_kernel_unroll_factor = 98;
|
|
inline void DebugOptions::clear_xla_gpu_max_kernel_unroll_factor() {
|
|
xla_gpu_max_kernel_unroll_factor_ = 0;
|
|
}
|
|
inline ::google::protobuf::int32 DebugOptions::xla_gpu_max_kernel_unroll_factor() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_gpu_max_kernel_unroll_factor)
|
|
return xla_gpu_max_kernel_unroll_factor_;
|
|
}
|
|
inline void DebugOptions::set_xla_gpu_max_kernel_unroll_factor(::google::protobuf::int32 value) {
|
|
|
|
xla_gpu_max_kernel_unroll_factor_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_gpu_max_kernel_unroll_factor)
|
|
}
|
|
|
|
// bool xla_cpu_enable_fast_math = 99;
|
|
inline void DebugOptions::clear_xla_cpu_enable_fast_math() {
|
|
xla_cpu_enable_fast_math_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_cpu_enable_fast_math() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_cpu_enable_fast_math)
|
|
return xla_cpu_enable_fast_math_;
|
|
}
|
|
inline void DebugOptions::set_xla_cpu_enable_fast_math(bool value) {
|
|
|
|
xla_cpu_enable_fast_math_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_cpu_enable_fast_math)
|
|
}
|
|
|
|
// bool xla_gpu_enable_fast_math = 100;
|
|
inline void DebugOptions::clear_xla_gpu_enable_fast_math() {
|
|
xla_gpu_enable_fast_math_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_gpu_enable_fast_math() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_gpu_enable_fast_math)
|
|
return xla_gpu_enable_fast_math_;
|
|
}
|
|
inline void DebugOptions::set_xla_gpu_enable_fast_math(bool value) {
|
|
|
|
xla_gpu_enable_fast_math_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_gpu_enable_fast_math)
|
|
}
|
|
|
|
// bool xla_gpu_crash_on_verification_failures = 101;
|
|
inline void DebugOptions::clear_xla_gpu_crash_on_verification_failures() {
|
|
xla_gpu_crash_on_verification_failures_ = false;
|
|
}
|
|
inline bool DebugOptions::xla_gpu_crash_on_verification_failures() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_gpu_crash_on_verification_failures)
|
|
return xla_gpu_crash_on_verification_failures_;
|
|
}
|
|
inline void DebugOptions::set_xla_gpu_crash_on_verification_failures(bool value) {
|
|
|
|
xla_gpu_crash_on_verification_failures_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_gpu_crash_on_verification_failures)
|
|
}
|
|
|
|
// int32 xla_force_host_platform_device_count = 102;
|
|
inline void DebugOptions::clear_xla_force_host_platform_device_count() {
|
|
xla_force_host_platform_device_count_ = 0;
|
|
}
|
|
inline ::google::protobuf::int32 DebugOptions::xla_force_host_platform_device_count() const {
|
|
// @@protoc_insertion_point(field_get:xla.DebugOptions.xla_force_host_platform_device_count)
|
|
return xla_force_host_platform_device_count_;
|
|
}
|
|
inline void DebugOptions::set_xla_force_host_platform_device_count(::google::protobuf::int32 value) {
|
|
|
|
xla_force_host_platform_device_count_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.DebugOptions.xla_force_host_platform_device_count)
|
|
}
|
|
|
|
// map<string, string> xla_backend_extra_options = 500;
|
|
inline int DebugOptions::xla_backend_extra_options_size() const {
|
|
return xla_backend_extra_options_.size();
|
|
}
|
|
inline void DebugOptions::clear_xla_backend_extra_options() {
|
|
xla_backend_extra_options_.Clear();
|
|
}
|
|
inline const ::google::protobuf::Map< ::std::string, ::std::string >&
|
|
DebugOptions::xla_backend_extra_options() const {
|
|
// @@protoc_insertion_point(field_map:xla.DebugOptions.xla_backend_extra_options)
|
|
return xla_backend_extra_options_.GetMap();
|
|
}
|
|
inline ::google::protobuf::Map< ::std::string, ::std::string >*
|
|
DebugOptions::mutable_xla_backend_extra_options() {
|
|
// @@protoc_insertion_point(field_mutable_map:xla.DebugOptions.xla_backend_extra_options)
|
|
return xla_backend_extra_options_.MutableMap();
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ExecutionOptions
|
|
|
|
// .xla.Shape shape_with_output_layout = 2;
|
|
inline bool ExecutionOptions::has_shape_with_output_layout() const {
|
|
return this != internal_default_instance() && shape_with_output_layout_ != NULL;
|
|
}
|
|
inline const ::xla::Shape& ExecutionOptions::_internal_shape_with_output_layout() const {
|
|
return *shape_with_output_layout_;
|
|
}
|
|
inline const ::xla::Shape& ExecutionOptions::shape_with_output_layout() const {
|
|
const ::xla::Shape* p = shape_with_output_layout_;
|
|
// @@protoc_insertion_point(field_get:xla.ExecutionOptions.shape_with_output_layout)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::Shape*>(
|
|
&::xla::_Shape_default_instance_);
|
|
}
|
|
inline ::xla::Shape* ExecutionOptions::release_shape_with_output_layout() {
|
|
// @@protoc_insertion_point(field_release:xla.ExecutionOptions.shape_with_output_layout)
|
|
|
|
::xla::Shape* temp = shape_with_output_layout_;
|
|
shape_with_output_layout_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::Shape* ExecutionOptions::mutable_shape_with_output_layout() {
|
|
|
|
if (shape_with_output_layout_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::Shape>(GetArenaNoVirtual());
|
|
shape_with_output_layout_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecutionOptions.shape_with_output_layout)
|
|
return shape_with_output_layout_;
|
|
}
|
|
inline void ExecutionOptions::set_allocated_shape_with_output_layout(::xla::Shape* shape_with_output_layout) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(shape_with_output_layout_);
|
|
}
|
|
if (shape_with_output_layout) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(shape_with_output_layout)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
shape_with_output_layout = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, shape_with_output_layout, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
shape_with_output_layout_ = shape_with_output_layout;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ExecutionOptions.shape_with_output_layout)
|
|
}
|
|
|
|
// uint64 seed = 3;
|
|
inline void ExecutionOptions::clear_seed() {
|
|
seed_ = GOOGLE_ULONGLONG(0);
|
|
}
|
|
inline ::google::protobuf::uint64 ExecutionOptions::seed() const {
|
|
// @@protoc_insertion_point(field_get:xla.ExecutionOptions.seed)
|
|
return seed_;
|
|
}
|
|
inline void ExecutionOptions::set_seed(::google::protobuf::uint64 value) {
|
|
|
|
seed_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.ExecutionOptions.seed)
|
|
}
|
|
|
|
// .xla.DebugOptions debug_options = 4;
|
|
inline bool ExecutionOptions::has_debug_options() const {
|
|
return this != internal_default_instance() && debug_options_ != NULL;
|
|
}
|
|
inline void ExecutionOptions::clear_debug_options() {
|
|
if (GetArenaNoVirtual() == NULL && debug_options_ != NULL) {
|
|
delete debug_options_;
|
|
}
|
|
debug_options_ = NULL;
|
|
}
|
|
inline const ::xla::DebugOptions& ExecutionOptions::_internal_debug_options() const {
|
|
return *debug_options_;
|
|
}
|
|
inline const ::xla::DebugOptions& ExecutionOptions::debug_options() const {
|
|
const ::xla::DebugOptions* p = debug_options_;
|
|
// @@protoc_insertion_point(field_get:xla.ExecutionOptions.debug_options)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::DebugOptions*>(
|
|
&::xla::_DebugOptions_default_instance_);
|
|
}
|
|
inline ::xla::DebugOptions* ExecutionOptions::release_debug_options() {
|
|
// @@protoc_insertion_point(field_release:xla.ExecutionOptions.debug_options)
|
|
|
|
::xla::DebugOptions* temp = debug_options_;
|
|
debug_options_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::DebugOptions* ExecutionOptions::mutable_debug_options() {
|
|
|
|
if (debug_options_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::DebugOptions>(GetArenaNoVirtual());
|
|
debug_options_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecutionOptions.debug_options)
|
|
return debug_options_;
|
|
}
|
|
inline void ExecutionOptions::set_allocated_debug_options(::xla::DebugOptions* debug_options) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete debug_options_;
|
|
}
|
|
if (debug_options) {
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
if (message_arena != submessage_arena) {
|
|
debug_options = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, debug_options, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
debug_options_ = debug_options;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ExecutionOptions.debug_options)
|
|
}
|
|
|
|
// repeated .xla.DeviceHandle device_handles = 5;
|
|
inline int ExecutionOptions::device_handles_size() const {
|
|
return device_handles_.size();
|
|
}
|
|
inline ::xla::DeviceHandle* ExecutionOptions::mutable_device_handles(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecutionOptions.device_handles)
|
|
return device_handles_.Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle >*
|
|
ExecutionOptions::mutable_device_handles() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.ExecutionOptions.device_handles)
|
|
return &device_handles_;
|
|
}
|
|
inline const ::xla::DeviceHandle& ExecutionOptions::device_handles(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.ExecutionOptions.device_handles)
|
|
return device_handles_.Get(index);
|
|
}
|
|
inline ::xla::DeviceHandle* ExecutionOptions::add_device_handles() {
|
|
// @@protoc_insertion_point(field_add:xla.ExecutionOptions.device_handles)
|
|
return device_handles_.Add();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle >&
|
|
ExecutionOptions::device_handles() const {
|
|
// @@protoc_insertion_point(field_list:xla.ExecutionOptions.device_handles)
|
|
return device_handles_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetDeviceHandlesRequest
|
|
|
|
// int64 device_count = 1;
|
|
inline void GetDeviceHandlesRequest::clear_device_count() {
|
|
device_count_ = GOOGLE_LONGLONG(0);
|
|
}
|
|
inline ::google::protobuf::int64 GetDeviceHandlesRequest::device_count() const {
|
|
// @@protoc_insertion_point(field_get:xla.GetDeviceHandlesRequest.device_count)
|
|
return device_count_;
|
|
}
|
|
inline void GetDeviceHandlesRequest::set_device_count(::google::protobuf::int64 value) {
|
|
|
|
device_count_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.GetDeviceHandlesRequest.device_count)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetDeviceHandlesResponse
|
|
|
|
// repeated .xla.DeviceHandle device_handles = 1;
|
|
inline int GetDeviceHandlesResponse::device_handles_size() const {
|
|
return device_handles_.size();
|
|
}
|
|
inline ::xla::DeviceHandle* GetDeviceHandlesResponse::mutable_device_handles(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.GetDeviceHandlesResponse.device_handles)
|
|
return device_handles_.Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle >*
|
|
GetDeviceHandlesResponse::mutable_device_handles() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.GetDeviceHandlesResponse.device_handles)
|
|
return &device_handles_;
|
|
}
|
|
inline const ::xla::DeviceHandle& GetDeviceHandlesResponse::device_handles(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.GetDeviceHandlesResponse.device_handles)
|
|
return device_handles_.Get(index);
|
|
}
|
|
inline ::xla::DeviceHandle* GetDeviceHandlesResponse::add_device_handles() {
|
|
// @@protoc_insertion_point(field_add:xla.GetDeviceHandlesResponse.device_handles)
|
|
return device_handles_.Add();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::xla::DeviceHandle >&
|
|
GetDeviceHandlesResponse::device_handles() const {
|
|
// @@protoc_insertion_point(field_list:xla.GetDeviceHandlesResponse.device_handles)
|
|
return device_handles_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransferToClientRequest
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
inline bool TransferToClientRequest::has_data() const {
|
|
return this != internal_default_instance() && data_ != NULL;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& TransferToClientRequest::_internal_data() const {
|
|
return *data_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& TransferToClientRequest::data() const {
|
|
const ::xla::GlobalDataHandle* p = data_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferToClientRequest.data)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::GlobalDataHandle*>(
|
|
&::xla::_GlobalDataHandle_default_instance_);
|
|
}
|
|
inline ::xla::GlobalDataHandle* TransferToClientRequest::release_data() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferToClientRequest.data)
|
|
|
|
::xla::GlobalDataHandle* temp = data_;
|
|
data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::GlobalDataHandle* TransferToClientRequest::mutable_data() {
|
|
|
|
if (data_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::GlobalDataHandle>(GetArenaNoVirtual());
|
|
data_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferToClientRequest.data)
|
|
return data_;
|
|
}
|
|
inline void TransferToClientRequest::set_allocated_data(::xla::GlobalDataHandle* data) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(data_);
|
|
}
|
|
if (data) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(data)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
data = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, data, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
data_ = data;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferToClientRequest.data)
|
|
}
|
|
|
|
// .xla.Shape shape_with_layout = 2;
|
|
inline bool TransferToClientRequest::has_shape_with_layout() const {
|
|
return this != internal_default_instance() && shape_with_layout_ != NULL;
|
|
}
|
|
inline const ::xla::Shape& TransferToClientRequest::_internal_shape_with_layout() const {
|
|
return *shape_with_layout_;
|
|
}
|
|
inline const ::xla::Shape& TransferToClientRequest::shape_with_layout() const {
|
|
const ::xla::Shape* p = shape_with_layout_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferToClientRequest.shape_with_layout)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::Shape*>(
|
|
&::xla::_Shape_default_instance_);
|
|
}
|
|
inline ::xla::Shape* TransferToClientRequest::release_shape_with_layout() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferToClientRequest.shape_with_layout)
|
|
|
|
::xla::Shape* temp = shape_with_layout_;
|
|
shape_with_layout_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::Shape* TransferToClientRequest::mutable_shape_with_layout() {
|
|
|
|
if (shape_with_layout_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::Shape>(GetArenaNoVirtual());
|
|
shape_with_layout_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferToClientRequest.shape_with_layout)
|
|
return shape_with_layout_;
|
|
}
|
|
inline void TransferToClientRequest::set_allocated_shape_with_layout(::xla::Shape* shape_with_layout) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(shape_with_layout_);
|
|
}
|
|
if (shape_with_layout) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(shape_with_layout)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
shape_with_layout = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, shape_with_layout, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
shape_with_layout_ = shape_with_layout;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferToClientRequest.shape_with_layout)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransferToClientResponse
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
inline bool TransferToClientResponse::has_literal() const {
|
|
return this != internal_default_instance() && literal_ != NULL;
|
|
}
|
|
inline const ::xla::LiteralProto& TransferToClientResponse::_internal_literal() const {
|
|
return *literal_;
|
|
}
|
|
inline const ::xla::LiteralProto& TransferToClientResponse::literal() const {
|
|
const ::xla::LiteralProto* p = literal_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferToClientResponse.literal)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::LiteralProto*>(
|
|
&::xla::_LiteralProto_default_instance_);
|
|
}
|
|
inline ::xla::LiteralProto* TransferToClientResponse::release_literal() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferToClientResponse.literal)
|
|
|
|
::xla::LiteralProto* temp = literal_;
|
|
literal_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::LiteralProto* TransferToClientResponse::mutable_literal() {
|
|
|
|
if (literal_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::LiteralProto>(GetArenaNoVirtual());
|
|
literal_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferToClientResponse.literal)
|
|
return literal_;
|
|
}
|
|
inline void TransferToClientResponse::set_allocated_literal(::xla::LiteralProto* literal) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(literal_);
|
|
}
|
|
if (literal) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(literal)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
literal = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, literal, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
literal_ = literal;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferToClientResponse.literal)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransferToServerRequest
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
inline bool TransferToServerRequest::has_literal() const {
|
|
return this != internal_default_instance() && literal_ != NULL;
|
|
}
|
|
inline const ::xla::LiteralProto& TransferToServerRequest::_internal_literal() const {
|
|
return *literal_;
|
|
}
|
|
inline const ::xla::LiteralProto& TransferToServerRequest::literal() const {
|
|
const ::xla::LiteralProto* p = literal_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferToServerRequest.literal)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::LiteralProto*>(
|
|
&::xla::_LiteralProto_default_instance_);
|
|
}
|
|
inline ::xla::LiteralProto* TransferToServerRequest::release_literal() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferToServerRequest.literal)
|
|
|
|
::xla::LiteralProto* temp = literal_;
|
|
literal_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::LiteralProto* TransferToServerRequest::mutable_literal() {
|
|
|
|
if (literal_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::LiteralProto>(GetArenaNoVirtual());
|
|
literal_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferToServerRequest.literal)
|
|
return literal_;
|
|
}
|
|
inline void TransferToServerRequest::set_allocated_literal(::xla::LiteralProto* literal) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(literal_);
|
|
}
|
|
if (literal) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(literal)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
literal = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, literal, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
literal_ = literal;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferToServerRequest.literal)
|
|
}
|
|
|
|
// .xla.DeviceHandle device_handle = 2;
|
|
inline bool TransferToServerRequest::has_device_handle() const {
|
|
return this != internal_default_instance() && device_handle_ != NULL;
|
|
}
|
|
inline const ::xla::DeviceHandle& TransferToServerRequest::_internal_device_handle() const {
|
|
return *device_handle_;
|
|
}
|
|
inline const ::xla::DeviceHandle& TransferToServerRequest::device_handle() const {
|
|
const ::xla::DeviceHandle* p = device_handle_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferToServerRequest.device_handle)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::DeviceHandle*>(
|
|
&::xla::_DeviceHandle_default_instance_);
|
|
}
|
|
inline ::xla::DeviceHandle* TransferToServerRequest::release_device_handle() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferToServerRequest.device_handle)
|
|
|
|
::xla::DeviceHandle* temp = device_handle_;
|
|
device_handle_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::DeviceHandle* TransferToServerRequest::mutable_device_handle() {
|
|
|
|
if (device_handle_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::DeviceHandle>(GetArenaNoVirtual());
|
|
device_handle_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferToServerRequest.device_handle)
|
|
return device_handle_;
|
|
}
|
|
inline void TransferToServerRequest::set_allocated_device_handle(::xla::DeviceHandle* device_handle) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_handle_);
|
|
}
|
|
if (device_handle) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(device_handle)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
device_handle = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, device_handle, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
device_handle_ = device_handle;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferToServerRequest.device_handle)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransferToServerResponse
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
inline bool TransferToServerResponse::has_data() const {
|
|
return this != internal_default_instance() && data_ != NULL;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& TransferToServerResponse::_internal_data() const {
|
|
return *data_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& TransferToServerResponse::data() const {
|
|
const ::xla::GlobalDataHandle* p = data_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferToServerResponse.data)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::GlobalDataHandle*>(
|
|
&::xla::_GlobalDataHandle_default_instance_);
|
|
}
|
|
inline ::xla::GlobalDataHandle* TransferToServerResponse::release_data() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferToServerResponse.data)
|
|
|
|
::xla::GlobalDataHandle* temp = data_;
|
|
data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::GlobalDataHandle* TransferToServerResponse::mutable_data() {
|
|
|
|
if (data_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::GlobalDataHandle>(GetArenaNoVirtual());
|
|
data_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferToServerResponse.data)
|
|
return data_;
|
|
}
|
|
inline void TransferToServerResponse::set_allocated_data(::xla::GlobalDataHandle* data) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(data_);
|
|
}
|
|
if (data) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(data)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
data = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, data, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
data_ = data;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferToServerResponse.data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransferToInfeedRequest
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
inline bool TransferToInfeedRequest::has_literal() const {
|
|
return this != internal_default_instance() && literal_ != NULL;
|
|
}
|
|
inline const ::xla::LiteralProto& TransferToInfeedRequest::_internal_literal() const {
|
|
return *literal_;
|
|
}
|
|
inline const ::xla::LiteralProto& TransferToInfeedRequest::literal() const {
|
|
const ::xla::LiteralProto* p = literal_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferToInfeedRequest.literal)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::LiteralProto*>(
|
|
&::xla::_LiteralProto_default_instance_);
|
|
}
|
|
inline ::xla::LiteralProto* TransferToInfeedRequest::release_literal() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferToInfeedRequest.literal)
|
|
|
|
::xla::LiteralProto* temp = literal_;
|
|
literal_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::LiteralProto* TransferToInfeedRequest::mutable_literal() {
|
|
|
|
if (literal_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::LiteralProto>(GetArenaNoVirtual());
|
|
literal_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferToInfeedRequest.literal)
|
|
return literal_;
|
|
}
|
|
inline void TransferToInfeedRequest::set_allocated_literal(::xla::LiteralProto* literal) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(literal_);
|
|
}
|
|
if (literal) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(literal)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
literal = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, literal, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
literal_ = literal;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferToInfeedRequest.literal)
|
|
}
|
|
|
|
// int64 replica_id = 2;
|
|
inline void TransferToInfeedRequest::clear_replica_id() {
|
|
replica_id_ = GOOGLE_LONGLONG(0);
|
|
}
|
|
inline ::google::protobuf::int64 TransferToInfeedRequest::replica_id() const {
|
|
// @@protoc_insertion_point(field_get:xla.TransferToInfeedRequest.replica_id)
|
|
return replica_id_;
|
|
}
|
|
inline void TransferToInfeedRequest::set_replica_id(::google::protobuf::int64 value) {
|
|
|
|
replica_id_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.TransferToInfeedRequest.replica_id)
|
|
}
|
|
|
|
// .xla.DeviceHandle device_handle = 3;
|
|
inline bool TransferToInfeedRequest::has_device_handle() const {
|
|
return this != internal_default_instance() && device_handle_ != NULL;
|
|
}
|
|
inline const ::xla::DeviceHandle& TransferToInfeedRequest::_internal_device_handle() const {
|
|
return *device_handle_;
|
|
}
|
|
inline const ::xla::DeviceHandle& TransferToInfeedRequest::device_handle() const {
|
|
const ::xla::DeviceHandle* p = device_handle_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferToInfeedRequest.device_handle)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::DeviceHandle*>(
|
|
&::xla::_DeviceHandle_default_instance_);
|
|
}
|
|
inline ::xla::DeviceHandle* TransferToInfeedRequest::release_device_handle() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferToInfeedRequest.device_handle)
|
|
|
|
::xla::DeviceHandle* temp = device_handle_;
|
|
device_handle_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::DeviceHandle* TransferToInfeedRequest::mutable_device_handle() {
|
|
|
|
if (device_handle_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::DeviceHandle>(GetArenaNoVirtual());
|
|
device_handle_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferToInfeedRequest.device_handle)
|
|
return device_handle_;
|
|
}
|
|
inline void TransferToInfeedRequest::set_allocated_device_handle(::xla::DeviceHandle* device_handle) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_handle_);
|
|
}
|
|
if (device_handle) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(device_handle)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
device_handle = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, device_handle, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
device_handle_ = device_handle;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferToInfeedRequest.device_handle)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransferToInfeedResponse
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransferFromOutfeedRequest
|
|
|
|
// .xla.Shape shape_with_layout = 1;
|
|
inline bool TransferFromOutfeedRequest::has_shape_with_layout() const {
|
|
return this != internal_default_instance() && shape_with_layout_ != NULL;
|
|
}
|
|
inline const ::xla::Shape& TransferFromOutfeedRequest::_internal_shape_with_layout() const {
|
|
return *shape_with_layout_;
|
|
}
|
|
inline const ::xla::Shape& TransferFromOutfeedRequest::shape_with_layout() const {
|
|
const ::xla::Shape* p = shape_with_layout_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferFromOutfeedRequest.shape_with_layout)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::Shape*>(
|
|
&::xla::_Shape_default_instance_);
|
|
}
|
|
inline ::xla::Shape* TransferFromOutfeedRequest::release_shape_with_layout() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferFromOutfeedRequest.shape_with_layout)
|
|
|
|
::xla::Shape* temp = shape_with_layout_;
|
|
shape_with_layout_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::Shape* TransferFromOutfeedRequest::mutable_shape_with_layout() {
|
|
|
|
if (shape_with_layout_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::Shape>(GetArenaNoVirtual());
|
|
shape_with_layout_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferFromOutfeedRequest.shape_with_layout)
|
|
return shape_with_layout_;
|
|
}
|
|
inline void TransferFromOutfeedRequest::set_allocated_shape_with_layout(::xla::Shape* shape_with_layout) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(shape_with_layout_);
|
|
}
|
|
if (shape_with_layout) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(shape_with_layout)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
shape_with_layout = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, shape_with_layout, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
shape_with_layout_ = shape_with_layout;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferFromOutfeedRequest.shape_with_layout)
|
|
}
|
|
|
|
// int64 replica_id = 2;
|
|
inline void TransferFromOutfeedRequest::clear_replica_id() {
|
|
replica_id_ = GOOGLE_LONGLONG(0);
|
|
}
|
|
inline ::google::protobuf::int64 TransferFromOutfeedRequest::replica_id() const {
|
|
// @@protoc_insertion_point(field_get:xla.TransferFromOutfeedRequest.replica_id)
|
|
return replica_id_;
|
|
}
|
|
inline void TransferFromOutfeedRequest::set_replica_id(::google::protobuf::int64 value) {
|
|
|
|
replica_id_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.TransferFromOutfeedRequest.replica_id)
|
|
}
|
|
|
|
// .xla.DeviceHandle device_handle = 3;
|
|
inline bool TransferFromOutfeedRequest::has_device_handle() const {
|
|
return this != internal_default_instance() && device_handle_ != NULL;
|
|
}
|
|
inline const ::xla::DeviceHandle& TransferFromOutfeedRequest::_internal_device_handle() const {
|
|
return *device_handle_;
|
|
}
|
|
inline const ::xla::DeviceHandle& TransferFromOutfeedRequest::device_handle() const {
|
|
const ::xla::DeviceHandle* p = device_handle_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferFromOutfeedRequest.device_handle)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::DeviceHandle*>(
|
|
&::xla::_DeviceHandle_default_instance_);
|
|
}
|
|
inline ::xla::DeviceHandle* TransferFromOutfeedRequest::release_device_handle() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferFromOutfeedRequest.device_handle)
|
|
|
|
::xla::DeviceHandle* temp = device_handle_;
|
|
device_handle_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::DeviceHandle* TransferFromOutfeedRequest::mutable_device_handle() {
|
|
|
|
if (device_handle_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::DeviceHandle>(GetArenaNoVirtual());
|
|
device_handle_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferFromOutfeedRequest.device_handle)
|
|
return device_handle_;
|
|
}
|
|
inline void TransferFromOutfeedRequest::set_allocated_device_handle(::xla::DeviceHandle* device_handle) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_handle_);
|
|
}
|
|
if (device_handle) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(device_handle)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
device_handle = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, device_handle, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
device_handle_ = device_handle;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferFromOutfeedRequest.device_handle)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// TransferFromOutfeedResponse
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
inline bool TransferFromOutfeedResponse::has_literal() const {
|
|
return this != internal_default_instance() && literal_ != NULL;
|
|
}
|
|
inline const ::xla::LiteralProto& TransferFromOutfeedResponse::_internal_literal() const {
|
|
return *literal_;
|
|
}
|
|
inline const ::xla::LiteralProto& TransferFromOutfeedResponse::literal() const {
|
|
const ::xla::LiteralProto* p = literal_;
|
|
// @@protoc_insertion_point(field_get:xla.TransferFromOutfeedResponse.literal)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::LiteralProto*>(
|
|
&::xla::_LiteralProto_default_instance_);
|
|
}
|
|
inline ::xla::LiteralProto* TransferFromOutfeedResponse::release_literal() {
|
|
// @@protoc_insertion_point(field_release:xla.TransferFromOutfeedResponse.literal)
|
|
|
|
::xla::LiteralProto* temp = literal_;
|
|
literal_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::LiteralProto* TransferFromOutfeedResponse::mutable_literal() {
|
|
|
|
if (literal_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::LiteralProto>(GetArenaNoVirtual());
|
|
literal_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.TransferFromOutfeedResponse.literal)
|
|
return literal_;
|
|
}
|
|
inline void TransferFromOutfeedResponse::set_allocated_literal(::xla::LiteralProto* literal) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(literal_);
|
|
}
|
|
if (literal) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(literal)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
literal = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, literal, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
literal_ = literal;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.TransferFromOutfeedResponse.literal)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ResetDeviceRequest
|
|
|
|
// .xla.DeviceHandle device_handle = 1;
|
|
inline bool ResetDeviceRequest::has_device_handle() const {
|
|
return this != internal_default_instance() && device_handle_ != NULL;
|
|
}
|
|
inline const ::xla::DeviceHandle& ResetDeviceRequest::_internal_device_handle() const {
|
|
return *device_handle_;
|
|
}
|
|
inline const ::xla::DeviceHandle& ResetDeviceRequest::device_handle() const {
|
|
const ::xla::DeviceHandle* p = device_handle_;
|
|
// @@protoc_insertion_point(field_get:xla.ResetDeviceRequest.device_handle)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::DeviceHandle*>(
|
|
&::xla::_DeviceHandle_default_instance_);
|
|
}
|
|
inline ::xla::DeviceHandle* ResetDeviceRequest::release_device_handle() {
|
|
// @@protoc_insertion_point(field_release:xla.ResetDeviceRequest.device_handle)
|
|
|
|
::xla::DeviceHandle* temp = device_handle_;
|
|
device_handle_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::DeviceHandle* ResetDeviceRequest::mutable_device_handle() {
|
|
|
|
if (device_handle_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::DeviceHandle>(GetArenaNoVirtual());
|
|
device_handle_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ResetDeviceRequest.device_handle)
|
|
return device_handle_;
|
|
}
|
|
inline void ResetDeviceRequest::set_allocated_device_handle(::xla::DeviceHandle* device_handle) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_handle_);
|
|
}
|
|
if (device_handle) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(device_handle)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
device_handle = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, device_handle, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
device_handle_ = device_handle;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ResetDeviceRequest.device_handle)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ResetDeviceResponse
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ComputationGraphStatsRequest
|
|
|
|
// .xla.HloModuleProto computation = 1;
|
|
inline bool ComputationGraphStatsRequest::has_computation() const {
|
|
return this != internal_default_instance() && computation_ != NULL;
|
|
}
|
|
inline const ::xla::HloModuleProto& ComputationGraphStatsRequest::_internal_computation() const {
|
|
return *computation_;
|
|
}
|
|
inline const ::xla::HloModuleProto& ComputationGraphStatsRequest::computation() const {
|
|
const ::xla::HloModuleProto* p = computation_;
|
|
// @@protoc_insertion_point(field_get:xla.ComputationGraphStatsRequest.computation)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::HloModuleProto*>(
|
|
&::xla::_HloModuleProto_default_instance_);
|
|
}
|
|
inline ::xla::HloModuleProto* ComputationGraphStatsRequest::release_computation() {
|
|
// @@protoc_insertion_point(field_release:xla.ComputationGraphStatsRequest.computation)
|
|
|
|
::xla::HloModuleProto* temp = computation_;
|
|
computation_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::HloModuleProto* ComputationGraphStatsRequest::mutable_computation() {
|
|
|
|
if (computation_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::HloModuleProto>(GetArenaNoVirtual());
|
|
computation_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ComputationGraphStatsRequest.computation)
|
|
return computation_;
|
|
}
|
|
inline void ComputationGraphStatsRequest::set_allocated_computation(::xla::HloModuleProto* computation) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(computation_);
|
|
}
|
|
if (computation) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(computation)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
computation = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, computation, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
computation_ = computation;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ComputationGraphStatsRequest.computation)
|
|
}
|
|
|
|
// .xla.DebugOptions debug_options = 2;
|
|
inline bool ComputationGraphStatsRequest::has_debug_options() const {
|
|
return this != internal_default_instance() && debug_options_ != NULL;
|
|
}
|
|
inline void ComputationGraphStatsRequest::clear_debug_options() {
|
|
if (GetArenaNoVirtual() == NULL && debug_options_ != NULL) {
|
|
delete debug_options_;
|
|
}
|
|
debug_options_ = NULL;
|
|
}
|
|
inline const ::xla::DebugOptions& ComputationGraphStatsRequest::_internal_debug_options() const {
|
|
return *debug_options_;
|
|
}
|
|
inline const ::xla::DebugOptions& ComputationGraphStatsRequest::debug_options() const {
|
|
const ::xla::DebugOptions* p = debug_options_;
|
|
// @@protoc_insertion_point(field_get:xla.ComputationGraphStatsRequest.debug_options)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::DebugOptions*>(
|
|
&::xla::_DebugOptions_default_instance_);
|
|
}
|
|
inline ::xla::DebugOptions* ComputationGraphStatsRequest::release_debug_options() {
|
|
// @@protoc_insertion_point(field_release:xla.ComputationGraphStatsRequest.debug_options)
|
|
|
|
::xla::DebugOptions* temp = debug_options_;
|
|
debug_options_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::DebugOptions* ComputationGraphStatsRequest::mutable_debug_options() {
|
|
|
|
if (debug_options_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::DebugOptions>(GetArenaNoVirtual());
|
|
debug_options_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ComputationGraphStatsRequest.debug_options)
|
|
return debug_options_;
|
|
}
|
|
inline void ComputationGraphStatsRequest::set_allocated_debug_options(::xla::DebugOptions* debug_options) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete debug_options_;
|
|
}
|
|
if (debug_options) {
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
if (message_arena != submessage_arena) {
|
|
debug_options = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, debug_options, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
debug_options_ = debug_options;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ComputationGraphStatsRequest.debug_options)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ComputationStatsResponse
|
|
|
|
// .xla.ComputationStats stats = 1;
|
|
inline bool ComputationStatsResponse::has_stats() const {
|
|
return this != internal_default_instance() && stats_ != NULL;
|
|
}
|
|
inline const ::xla::ComputationStats& ComputationStatsResponse::_internal_stats() const {
|
|
return *stats_;
|
|
}
|
|
inline const ::xla::ComputationStats& ComputationStatsResponse::stats() const {
|
|
const ::xla::ComputationStats* p = stats_;
|
|
// @@protoc_insertion_point(field_get:xla.ComputationStatsResponse.stats)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::ComputationStats*>(
|
|
&::xla::_ComputationStats_default_instance_);
|
|
}
|
|
inline ::xla::ComputationStats* ComputationStatsResponse::release_stats() {
|
|
// @@protoc_insertion_point(field_release:xla.ComputationStatsResponse.stats)
|
|
|
|
::xla::ComputationStats* temp = stats_;
|
|
stats_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::ComputationStats* ComputationStatsResponse::mutable_stats() {
|
|
|
|
if (stats_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::ComputationStats>(GetArenaNoVirtual());
|
|
stats_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ComputationStatsResponse.stats)
|
|
return stats_;
|
|
}
|
|
inline void ComputationStatsResponse::set_allocated_stats(::xla::ComputationStats* stats) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(stats_);
|
|
}
|
|
if (stats) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(stats)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
stats = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, stats, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
stats_ = stats;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ComputationStatsResponse.stats)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// CreateChannelHandleRequest
|
|
|
|
// .xla.ChannelHandle.ChannelType channel_type = 1;
|
|
inline void CreateChannelHandleRequest::clear_channel_type() {
|
|
channel_type_ = 0;
|
|
}
|
|
inline ::xla::ChannelHandle_ChannelType CreateChannelHandleRequest::channel_type() const {
|
|
// @@protoc_insertion_point(field_get:xla.CreateChannelHandleRequest.channel_type)
|
|
return static_cast< ::xla::ChannelHandle_ChannelType >(channel_type_);
|
|
}
|
|
inline void CreateChannelHandleRequest::set_channel_type(::xla::ChannelHandle_ChannelType value) {
|
|
|
|
channel_type_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.CreateChannelHandleRequest.channel_type)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// CreateChannelHandleResponse
|
|
|
|
// .xla.ChannelHandle channel = 1;
|
|
inline bool CreateChannelHandleResponse::has_channel() const {
|
|
return this != internal_default_instance() && channel_ != NULL;
|
|
}
|
|
inline const ::xla::ChannelHandle& CreateChannelHandleResponse::_internal_channel() const {
|
|
return *channel_;
|
|
}
|
|
inline const ::xla::ChannelHandle& CreateChannelHandleResponse::channel() const {
|
|
const ::xla::ChannelHandle* p = channel_;
|
|
// @@protoc_insertion_point(field_get:xla.CreateChannelHandleResponse.channel)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::ChannelHandle*>(
|
|
&::xla::_ChannelHandle_default_instance_);
|
|
}
|
|
inline ::xla::ChannelHandle* CreateChannelHandleResponse::release_channel() {
|
|
// @@protoc_insertion_point(field_release:xla.CreateChannelHandleResponse.channel)
|
|
|
|
::xla::ChannelHandle* temp = channel_;
|
|
channel_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::ChannelHandle* CreateChannelHandleResponse::mutable_channel() {
|
|
|
|
if (channel_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::ChannelHandle>(GetArenaNoVirtual());
|
|
channel_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.CreateChannelHandleResponse.channel)
|
|
return channel_;
|
|
}
|
|
inline void CreateChannelHandleResponse::set_allocated_channel(::xla::ChannelHandle* channel) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(channel_);
|
|
}
|
|
if (channel) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(channel)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
channel = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, channel, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
channel_ = channel;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.CreateChannelHandleResponse.channel)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// UnregisterRequest
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
inline bool UnregisterRequest::has_data() const {
|
|
return this != internal_default_instance() && data_ != NULL;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& UnregisterRequest::_internal_data() const {
|
|
return *data_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& UnregisterRequest::data() const {
|
|
const ::xla::GlobalDataHandle* p = data_;
|
|
// @@protoc_insertion_point(field_get:xla.UnregisterRequest.data)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::GlobalDataHandle*>(
|
|
&::xla::_GlobalDataHandle_default_instance_);
|
|
}
|
|
inline ::xla::GlobalDataHandle* UnregisterRequest::release_data() {
|
|
// @@protoc_insertion_point(field_release:xla.UnregisterRequest.data)
|
|
|
|
::xla::GlobalDataHandle* temp = data_;
|
|
data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::GlobalDataHandle* UnregisterRequest::mutable_data() {
|
|
|
|
if (data_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::GlobalDataHandle>(GetArenaNoVirtual());
|
|
data_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.UnregisterRequest.data)
|
|
return data_;
|
|
}
|
|
inline void UnregisterRequest::set_allocated_data(::xla::GlobalDataHandle* data) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(data_);
|
|
}
|
|
if (data) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(data)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
data = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, data, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
data_ = data;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.UnregisterRequest.data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// UnregisterResponse
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ExecuteGraphRequest
|
|
|
|
// .xla.HloModuleProto computation = 1;
|
|
inline bool ExecuteGraphRequest::has_computation() const {
|
|
return this != internal_default_instance() && computation_ != NULL;
|
|
}
|
|
inline const ::xla::HloModuleProto& ExecuteGraphRequest::_internal_computation() const {
|
|
return *computation_;
|
|
}
|
|
inline const ::xla::HloModuleProto& ExecuteGraphRequest::computation() const {
|
|
const ::xla::HloModuleProto* p = computation_;
|
|
// @@protoc_insertion_point(field_get:xla.ExecuteGraphRequest.computation)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::HloModuleProto*>(
|
|
&::xla::_HloModuleProto_default_instance_);
|
|
}
|
|
inline ::xla::HloModuleProto* ExecuteGraphRequest::release_computation() {
|
|
// @@protoc_insertion_point(field_release:xla.ExecuteGraphRequest.computation)
|
|
|
|
::xla::HloModuleProto* temp = computation_;
|
|
computation_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::HloModuleProto* ExecuteGraphRequest::mutable_computation() {
|
|
|
|
if (computation_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::HloModuleProto>(GetArenaNoVirtual());
|
|
computation_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecuteGraphRequest.computation)
|
|
return computation_;
|
|
}
|
|
inline void ExecuteGraphRequest::set_allocated_computation(::xla::HloModuleProto* computation) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(computation_);
|
|
}
|
|
if (computation) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(computation)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
computation = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, computation, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
computation_ = computation;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ExecuteGraphRequest.computation)
|
|
}
|
|
|
|
// repeated .xla.GlobalDataHandle arguments = 2;
|
|
inline int ExecuteGraphRequest::arguments_size() const {
|
|
return arguments_.size();
|
|
}
|
|
inline ::xla::GlobalDataHandle* ExecuteGraphRequest::mutable_arguments(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecuteGraphRequest.arguments)
|
|
return arguments_.Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >*
|
|
ExecuteGraphRequest::mutable_arguments() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.ExecuteGraphRequest.arguments)
|
|
return &arguments_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& ExecuteGraphRequest::arguments(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.ExecuteGraphRequest.arguments)
|
|
return arguments_.Get(index);
|
|
}
|
|
inline ::xla::GlobalDataHandle* ExecuteGraphRequest::add_arguments() {
|
|
// @@protoc_insertion_point(field_add:xla.ExecuteGraphRequest.arguments)
|
|
return arguments_.Add();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >&
|
|
ExecuteGraphRequest::arguments() const {
|
|
// @@protoc_insertion_point(field_list:xla.ExecuteGraphRequest.arguments)
|
|
return arguments_;
|
|
}
|
|
|
|
// .xla.ExecutionOptions execution_options = 3;
|
|
inline bool ExecuteGraphRequest::has_execution_options() const {
|
|
return this != internal_default_instance() && execution_options_ != NULL;
|
|
}
|
|
inline void ExecuteGraphRequest::clear_execution_options() {
|
|
if (GetArenaNoVirtual() == NULL && execution_options_ != NULL) {
|
|
delete execution_options_;
|
|
}
|
|
execution_options_ = NULL;
|
|
}
|
|
inline const ::xla::ExecutionOptions& ExecuteGraphRequest::_internal_execution_options() const {
|
|
return *execution_options_;
|
|
}
|
|
inline const ::xla::ExecutionOptions& ExecuteGraphRequest::execution_options() const {
|
|
const ::xla::ExecutionOptions* p = execution_options_;
|
|
// @@protoc_insertion_point(field_get:xla.ExecuteGraphRequest.execution_options)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::ExecutionOptions*>(
|
|
&::xla::_ExecutionOptions_default_instance_);
|
|
}
|
|
inline ::xla::ExecutionOptions* ExecuteGraphRequest::release_execution_options() {
|
|
// @@protoc_insertion_point(field_release:xla.ExecuteGraphRequest.execution_options)
|
|
|
|
::xla::ExecutionOptions* temp = execution_options_;
|
|
execution_options_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::ExecutionOptions* ExecuteGraphRequest::mutable_execution_options() {
|
|
|
|
if (execution_options_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::ExecutionOptions>(GetArenaNoVirtual());
|
|
execution_options_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecuteGraphRequest.execution_options)
|
|
return execution_options_;
|
|
}
|
|
inline void ExecuteGraphRequest::set_allocated_execution_options(::xla::ExecutionOptions* execution_options) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete execution_options_;
|
|
}
|
|
if (execution_options) {
|
|
::google::protobuf::Arena* submessage_arena = NULL;
|
|
if (message_arena != submessage_arena) {
|
|
execution_options = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, execution_options, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
execution_options_ = execution_options;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ExecuteGraphRequest.execution_options)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ExecuteGraphParallelRequest
|
|
|
|
// repeated .xla.ExecuteGraphRequest requests = 1;
|
|
inline int ExecuteGraphParallelRequest::requests_size() const {
|
|
return requests_.size();
|
|
}
|
|
inline void ExecuteGraphParallelRequest::clear_requests() {
|
|
requests_.Clear();
|
|
}
|
|
inline ::xla::ExecuteGraphRequest* ExecuteGraphParallelRequest::mutable_requests(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecuteGraphParallelRequest.requests)
|
|
return requests_.Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::xla::ExecuteGraphRequest >*
|
|
ExecuteGraphParallelRequest::mutable_requests() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.ExecuteGraphParallelRequest.requests)
|
|
return &requests_;
|
|
}
|
|
inline const ::xla::ExecuteGraphRequest& ExecuteGraphParallelRequest::requests(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.ExecuteGraphParallelRequest.requests)
|
|
return requests_.Get(index);
|
|
}
|
|
inline ::xla::ExecuteGraphRequest* ExecuteGraphParallelRequest::add_requests() {
|
|
// @@protoc_insertion_point(field_add:xla.ExecuteGraphParallelRequest.requests)
|
|
return requests_.Add();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::xla::ExecuteGraphRequest >&
|
|
ExecuteGraphParallelRequest::requests() const {
|
|
// @@protoc_insertion_point(field_list:xla.ExecuteGraphParallelRequest.requests)
|
|
return requests_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ExecuteResponse
|
|
|
|
// .xla.GlobalDataHandle output = 1;
|
|
inline bool ExecuteResponse::has_output() const {
|
|
return this != internal_default_instance() && output_ != NULL;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& ExecuteResponse::_internal_output() const {
|
|
return *output_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& ExecuteResponse::output() const {
|
|
const ::xla::GlobalDataHandle* p = output_;
|
|
// @@protoc_insertion_point(field_get:xla.ExecuteResponse.output)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::GlobalDataHandle*>(
|
|
&::xla::_GlobalDataHandle_default_instance_);
|
|
}
|
|
inline ::xla::GlobalDataHandle* ExecuteResponse::release_output() {
|
|
// @@protoc_insertion_point(field_release:xla.ExecuteResponse.output)
|
|
|
|
::xla::GlobalDataHandle* temp = output_;
|
|
output_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::GlobalDataHandle* ExecuteResponse::mutable_output() {
|
|
|
|
if (output_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::GlobalDataHandle>(GetArenaNoVirtual());
|
|
output_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecuteResponse.output)
|
|
return output_;
|
|
}
|
|
inline void ExecuteResponse::set_allocated_output(::xla::GlobalDataHandle* output) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_);
|
|
}
|
|
if (output) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(output)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
output = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, output, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
output_ = output;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ExecuteResponse.output)
|
|
}
|
|
|
|
// .xla.ExecutionProfile profile = 2;
|
|
inline bool ExecuteResponse::has_profile() const {
|
|
return this != internal_default_instance() && profile_ != NULL;
|
|
}
|
|
inline const ::xla::ExecutionProfile& ExecuteResponse::_internal_profile() const {
|
|
return *profile_;
|
|
}
|
|
inline const ::xla::ExecutionProfile& ExecuteResponse::profile() const {
|
|
const ::xla::ExecutionProfile* p = profile_;
|
|
// @@protoc_insertion_point(field_get:xla.ExecuteResponse.profile)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::ExecutionProfile*>(
|
|
&::xla::_ExecutionProfile_default_instance_);
|
|
}
|
|
inline ::xla::ExecutionProfile* ExecuteResponse::release_profile() {
|
|
// @@protoc_insertion_point(field_release:xla.ExecuteResponse.profile)
|
|
|
|
::xla::ExecutionProfile* temp = profile_;
|
|
profile_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::ExecutionProfile* ExecuteResponse::mutable_profile() {
|
|
|
|
if (profile_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::ExecutionProfile>(GetArenaNoVirtual());
|
|
profile_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecuteResponse.profile)
|
|
return profile_;
|
|
}
|
|
inline void ExecuteResponse::set_allocated_profile(::xla::ExecutionProfile* profile) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(profile_);
|
|
}
|
|
if (profile) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(profile)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
profile = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, profile, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
profile_ = profile;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ExecuteResponse.profile)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ExecuteParallelResponse
|
|
|
|
// repeated .xla.ExecuteResponse responses = 1;
|
|
inline int ExecuteParallelResponse::responses_size() const {
|
|
return responses_.size();
|
|
}
|
|
inline void ExecuteParallelResponse::clear_responses() {
|
|
responses_.Clear();
|
|
}
|
|
inline ::xla::ExecuteResponse* ExecuteParallelResponse::mutable_responses(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.ExecuteParallelResponse.responses)
|
|
return responses_.Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::xla::ExecuteResponse >*
|
|
ExecuteParallelResponse::mutable_responses() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.ExecuteParallelResponse.responses)
|
|
return &responses_;
|
|
}
|
|
inline const ::xla::ExecuteResponse& ExecuteParallelResponse::responses(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.ExecuteParallelResponse.responses)
|
|
return responses_.Get(index);
|
|
}
|
|
inline ::xla::ExecuteResponse* ExecuteParallelResponse::add_responses() {
|
|
// @@protoc_insertion_point(field_add:xla.ExecuteParallelResponse.responses)
|
|
return responses_.Add();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::xla::ExecuteResponse >&
|
|
ExecuteParallelResponse::responses() const {
|
|
// @@protoc_insertion_point(field_list:xla.ExecuteParallelResponse.responses)
|
|
return responses_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// WaitForExecutionRequest
|
|
|
|
// .xla.ExecutionHandle execution = 1;
|
|
inline bool WaitForExecutionRequest::has_execution() const {
|
|
return this != internal_default_instance() && execution_ != NULL;
|
|
}
|
|
inline const ::xla::ExecutionHandle& WaitForExecutionRequest::_internal_execution() const {
|
|
return *execution_;
|
|
}
|
|
inline const ::xla::ExecutionHandle& WaitForExecutionRequest::execution() const {
|
|
const ::xla::ExecutionHandle* p = execution_;
|
|
// @@protoc_insertion_point(field_get:xla.WaitForExecutionRequest.execution)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::ExecutionHandle*>(
|
|
&::xla::_ExecutionHandle_default_instance_);
|
|
}
|
|
inline ::xla::ExecutionHandle* WaitForExecutionRequest::release_execution() {
|
|
// @@protoc_insertion_point(field_release:xla.WaitForExecutionRequest.execution)
|
|
|
|
::xla::ExecutionHandle* temp = execution_;
|
|
execution_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::ExecutionHandle* WaitForExecutionRequest::mutable_execution() {
|
|
|
|
if (execution_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::ExecutionHandle>(GetArenaNoVirtual());
|
|
execution_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.WaitForExecutionRequest.execution)
|
|
return execution_;
|
|
}
|
|
inline void WaitForExecutionRequest::set_allocated_execution(::xla::ExecutionHandle* execution) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_);
|
|
}
|
|
if (execution) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(execution)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
execution = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, execution, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
execution_ = execution;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.WaitForExecutionRequest.execution)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// WaitForExecutionResponse
|
|
|
|
// .xla.GlobalDataHandle output = 1;
|
|
inline bool WaitForExecutionResponse::has_output() const {
|
|
return this != internal_default_instance() && output_ != NULL;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& WaitForExecutionResponse::_internal_output() const {
|
|
return *output_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& WaitForExecutionResponse::output() const {
|
|
const ::xla::GlobalDataHandle* p = output_;
|
|
// @@protoc_insertion_point(field_get:xla.WaitForExecutionResponse.output)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::GlobalDataHandle*>(
|
|
&::xla::_GlobalDataHandle_default_instance_);
|
|
}
|
|
inline ::xla::GlobalDataHandle* WaitForExecutionResponse::release_output() {
|
|
// @@protoc_insertion_point(field_release:xla.WaitForExecutionResponse.output)
|
|
|
|
::xla::GlobalDataHandle* temp = output_;
|
|
output_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::GlobalDataHandle* WaitForExecutionResponse::mutable_output() {
|
|
|
|
if (output_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::GlobalDataHandle>(GetArenaNoVirtual());
|
|
output_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.WaitForExecutionResponse.output)
|
|
return output_;
|
|
}
|
|
inline void WaitForExecutionResponse::set_allocated_output(::xla::GlobalDataHandle* output) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_);
|
|
}
|
|
if (output) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(output)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
output = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, output, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
output_ = output;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.WaitForExecutionResponse.output)
|
|
}
|
|
|
|
// .xla.ExecutionProfile profile = 2;
|
|
inline bool WaitForExecutionResponse::has_profile() const {
|
|
return this != internal_default_instance() && profile_ != NULL;
|
|
}
|
|
inline const ::xla::ExecutionProfile& WaitForExecutionResponse::_internal_profile() const {
|
|
return *profile_;
|
|
}
|
|
inline const ::xla::ExecutionProfile& WaitForExecutionResponse::profile() const {
|
|
const ::xla::ExecutionProfile* p = profile_;
|
|
// @@protoc_insertion_point(field_get:xla.WaitForExecutionResponse.profile)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::ExecutionProfile*>(
|
|
&::xla::_ExecutionProfile_default_instance_);
|
|
}
|
|
inline ::xla::ExecutionProfile* WaitForExecutionResponse::release_profile() {
|
|
// @@protoc_insertion_point(field_release:xla.WaitForExecutionResponse.profile)
|
|
|
|
::xla::ExecutionProfile* temp = profile_;
|
|
profile_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::ExecutionProfile* WaitForExecutionResponse::mutable_profile() {
|
|
|
|
if (profile_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::ExecutionProfile>(GetArenaNoVirtual());
|
|
profile_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.WaitForExecutionResponse.profile)
|
|
return profile_;
|
|
}
|
|
inline void WaitForExecutionResponse::set_allocated_profile(::xla::ExecutionProfile* profile) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(profile_);
|
|
}
|
|
if (profile) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(profile)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
profile = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, profile, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
profile_ = profile;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.WaitForExecutionResponse.profile)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ComputeConstantGraphRequest
|
|
|
|
// .xla.HloModuleProto computation = 1;
|
|
inline bool ComputeConstantGraphRequest::has_computation() const {
|
|
return this != internal_default_instance() && computation_ != NULL;
|
|
}
|
|
inline const ::xla::HloModuleProto& ComputeConstantGraphRequest::_internal_computation() const {
|
|
return *computation_;
|
|
}
|
|
inline const ::xla::HloModuleProto& ComputeConstantGraphRequest::computation() const {
|
|
const ::xla::HloModuleProto* p = computation_;
|
|
// @@protoc_insertion_point(field_get:xla.ComputeConstantGraphRequest.computation)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::HloModuleProto*>(
|
|
&::xla::_HloModuleProto_default_instance_);
|
|
}
|
|
inline ::xla::HloModuleProto* ComputeConstantGraphRequest::release_computation() {
|
|
// @@protoc_insertion_point(field_release:xla.ComputeConstantGraphRequest.computation)
|
|
|
|
::xla::HloModuleProto* temp = computation_;
|
|
computation_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::HloModuleProto* ComputeConstantGraphRequest::mutable_computation() {
|
|
|
|
if (computation_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::HloModuleProto>(GetArenaNoVirtual());
|
|
computation_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ComputeConstantGraphRequest.computation)
|
|
return computation_;
|
|
}
|
|
inline void ComputeConstantGraphRequest::set_allocated_computation(::xla::HloModuleProto* computation) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(computation_);
|
|
}
|
|
if (computation) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(computation)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
computation = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, computation, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
computation_ = computation;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ComputeConstantGraphRequest.computation)
|
|
}
|
|
|
|
// .xla.Layout output_layout = 2;
|
|
inline bool ComputeConstantGraphRequest::has_output_layout() const {
|
|
return this != internal_default_instance() && output_layout_ != NULL;
|
|
}
|
|
inline const ::xla::Layout& ComputeConstantGraphRequest::_internal_output_layout() const {
|
|
return *output_layout_;
|
|
}
|
|
inline const ::xla::Layout& ComputeConstantGraphRequest::output_layout() const {
|
|
const ::xla::Layout* p = output_layout_;
|
|
// @@protoc_insertion_point(field_get:xla.ComputeConstantGraphRequest.output_layout)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::Layout*>(
|
|
&::xla::_Layout_default_instance_);
|
|
}
|
|
inline ::xla::Layout* ComputeConstantGraphRequest::release_output_layout() {
|
|
// @@protoc_insertion_point(field_release:xla.ComputeConstantGraphRequest.output_layout)
|
|
|
|
::xla::Layout* temp = output_layout_;
|
|
output_layout_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::Layout* ComputeConstantGraphRequest::mutable_output_layout() {
|
|
|
|
if (output_layout_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::Layout>(GetArenaNoVirtual());
|
|
output_layout_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ComputeConstantGraphRequest.output_layout)
|
|
return output_layout_;
|
|
}
|
|
inline void ComputeConstantGraphRequest::set_allocated_output_layout(::xla::Layout* output_layout) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_layout_);
|
|
}
|
|
if (output_layout) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(output_layout)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
output_layout = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, output_layout, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
output_layout_ = output_layout;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ComputeConstantGraphRequest.output_layout)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ComputeConstantResponse
|
|
|
|
// .xla.LiteralProto literal = 1;
|
|
inline bool ComputeConstantResponse::has_literal() const {
|
|
return this != internal_default_instance() && literal_ != NULL;
|
|
}
|
|
inline const ::xla::LiteralProto& ComputeConstantResponse::_internal_literal() const {
|
|
return *literal_;
|
|
}
|
|
inline const ::xla::LiteralProto& ComputeConstantResponse::literal() const {
|
|
const ::xla::LiteralProto* p = literal_;
|
|
// @@protoc_insertion_point(field_get:xla.ComputeConstantResponse.literal)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::LiteralProto*>(
|
|
&::xla::_LiteralProto_default_instance_);
|
|
}
|
|
inline ::xla::LiteralProto* ComputeConstantResponse::release_literal() {
|
|
// @@protoc_insertion_point(field_release:xla.ComputeConstantResponse.literal)
|
|
|
|
::xla::LiteralProto* temp = literal_;
|
|
literal_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::LiteralProto* ComputeConstantResponse::mutable_literal() {
|
|
|
|
if (literal_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::LiteralProto>(GetArenaNoVirtual());
|
|
literal_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.ComputeConstantResponse.literal)
|
|
return literal_;
|
|
}
|
|
inline void ComputeConstantResponse::set_allocated_literal(::xla::LiteralProto* literal) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(literal_);
|
|
}
|
|
if (literal) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(literal)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
literal = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, literal, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
literal_ = literal;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.ComputeConstantResponse.literal)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DeconstructTupleRequest
|
|
|
|
// .xla.GlobalDataHandle tuple_handle = 2;
|
|
inline bool DeconstructTupleRequest::has_tuple_handle() const {
|
|
return this != internal_default_instance() && tuple_handle_ != NULL;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& DeconstructTupleRequest::_internal_tuple_handle() const {
|
|
return *tuple_handle_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& DeconstructTupleRequest::tuple_handle() const {
|
|
const ::xla::GlobalDataHandle* p = tuple_handle_;
|
|
// @@protoc_insertion_point(field_get:xla.DeconstructTupleRequest.tuple_handle)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::GlobalDataHandle*>(
|
|
&::xla::_GlobalDataHandle_default_instance_);
|
|
}
|
|
inline ::xla::GlobalDataHandle* DeconstructTupleRequest::release_tuple_handle() {
|
|
// @@protoc_insertion_point(field_release:xla.DeconstructTupleRequest.tuple_handle)
|
|
|
|
::xla::GlobalDataHandle* temp = tuple_handle_;
|
|
tuple_handle_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::GlobalDataHandle* DeconstructTupleRequest::mutable_tuple_handle() {
|
|
|
|
if (tuple_handle_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::GlobalDataHandle>(GetArenaNoVirtual());
|
|
tuple_handle_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.DeconstructTupleRequest.tuple_handle)
|
|
return tuple_handle_;
|
|
}
|
|
inline void DeconstructTupleRequest::set_allocated_tuple_handle(::xla::GlobalDataHandle* tuple_handle) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(tuple_handle_);
|
|
}
|
|
if (tuple_handle) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(tuple_handle)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
tuple_handle = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, tuple_handle, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
tuple_handle_ = tuple_handle;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.DeconstructTupleRequest.tuple_handle)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// DeconstructTupleResponse
|
|
|
|
// repeated .xla.GlobalDataHandle element_handles = 1;
|
|
inline int DeconstructTupleResponse::element_handles_size() const {
|
|
return element_handles_.size();
|
|
}
|
|
inline ::xla::GlobalDataHandle* DeconstructTupleResponse::mutable_element_handles(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.DeconstructTupleResponse.element_handles)
|
|
return element_handles_.Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >*
|
|
DeconstructTupleResponse::mutable_element_handles() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.DeconstructTupleResponse.element_handles)
|
|
return &element_handles_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& DeconstructTupleResponse::element_handles(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.DeconstructTupleResponse.element_handles)
|
|
return element_handles_.Get(index);
|
|
}
|
|
inline ::xla::GlobalDataHandle* DeconstructTupleResponse::add_element_handles() {
|
|
// @@protoc_insertion_point(field_add:xla.DeconstructTupleResponse.element_handles)
|
|
return element_handles_.Add();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >&
|
|
DeconstructTupleResponse::element_handles() const {
|
|
// @@protoc_insertion_point(field_list:xla.DeconstructTupleResponse.element_handles)
|
|
return element_handles_;
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// LoadDataRequest
|
|
|
|
// string columnio_tablet_path = 1;
|
|
inline void LoadDataRequest::clear_columnio_tablet_path() {
|
|
columnio_tablet_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& LoadDataRequest::columnio_tablet_path() const {
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataRequest.columnio_tablet_path)
|
|
return columnio_tablet_path_.GetNoArena();
|
|
}
|
|
inline void LoadDataRequest::set_columnio_tablet_path(const ::std::string& value) {
|
|
|
|
columnio_tablet_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.LoadDataRequest.columnio_tablet_path)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void LoadDataRequest::set_columnio_tablet_path(::std::string&& value) {
|
|
|
|
columnio_tablet_path_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.LoadDataRequest.columnio_tablet_path)
|
|
}
|
|
#endif
|
|
inline void LoadDataRequest::set_columnio_tablet_path(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
columnio_tablet_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.LoadDataRequest.columnio_tablet_path)
|
|
}
|
|
inline void LoadDataRequest::set_columnio_tablet_path(const char* value, size_t size) {
|
|
|
|
columnio_tablet_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.LoadDataRequest.columnio_tablet_path)
|
|
}
|
|
inline ::std::string* LoadDataRequest::mutable_columnio_tablet_path() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.LoadDataRequest.columnio_tablet_path)
|
|
return columnio_tablet_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* LoadDataRequest::release_columnio_tablet_path() {
|
|
// @@protoc_insertion_point(field_release:xla.LoadDataRequest.columnio_tablet_path)
|
|
|
|
return columnio_tablet_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void LoadDataRequest::set_allocated_columnio_tablet_path(::std::string* columnio_tablet_path) {
|
|
if (columnio_tablet_path != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
columnio_tablet_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), columnio_tablet_path);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.LoadDataRequest.columnio_tablet_path)
|
|
}
|
|
|
|
// string columnio_field = 2;
|
|
inline void LoadDataRequest::clear_columnio_field() {
|
|
columnio_field_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline const ::std::string& LoadDataRequest::columnio_field() const {
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataRequest.columnio_field)
|
|
return columnio_field_.GetNoArena();
|
|
}
|
|
inline void LoadDataRequest::set_columnio_field(const ::std::string& value) {
|
|
|
|
columnio_field_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
|
// @@protoc_insertion_point(field_set:xla.LoadDataRequest.columnio_field)
|
|
}
|
|
#if LANG_CXX11
|
|
inline void LoadDataRequest::set_columnio_field(::std::string&& value) {
|
|
|
|
columnio_field_.SetNoArena(
|
|
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
|
// @@protoc_insertion_point(field_set_rvalue:xla.LoadDataRequest.columnio_field)
|
|
}
|
|
#endif
|
|
inline void LoadDataRequest::set_columnio_field(const char* value) {
|
|
GOOGLE_DCHECK(value != NULL);
|
|
|
|
columnio_field_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
|
// @@protoc_insertion_point(field_set_char:xla.LoadDataRequest.columnio_field)
|
|
}
|
|
inline void LoadDataRequest::set_columnio_field(const char* value, size_t size) {
|
|
|
|
columnio_field_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
::std::string(reinterpret_cast<const char*>(value), size));
|
|
// @@protoc_insertion_point(field_set_pointer:xla.LoadDataRequest.columnio_field)
|
|
}
|
|
inline ::std::string* LoadDataRequest::mutable_columnio_field() {
|
|
|
|
// @@protoc_insertion_point(field_mutable:xla.LoadDataRequest.columnio_field)
|
|
return columnio_field_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline ::std::string* LoadDataRequest::release_columnio_field() {
|
|
// @@protoc_insertion_point(field_release:xla.LoadDataRequest.columnio_field)
|
|
|
|
return columnio_field_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
inline void LoadDataRequest::set_allocated_columnio_field(::std::string* columnio_field) {
|
|
if (columnio_field != NULL) {
|
|
|
|
} else {
|
|
|
|
}
|
|
columnio_field_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), columnio_field);
|
|
// @@protoc_insertion_point(field_set_allocated:xla.LoadDataRequest.columnio_field)
|
|
}
|
|
|
|
// .xla.Shape element_shape = 3;
|
|
inline bool LoadDataRequest::has_element_shape() const {
|
|
return this != internal_default_instance() && element_shape_ != NULL;
|
|
}
|
|
inline const ::xla::Shape& LoadDataRequest::_internal_element_shape() const {
|
|
return *element_shape_;
|
|
}
|
|
inline const ::xla::Shape& LoadDataRequest::element_shape() const {
|
|
const ::xla::Shape* p = element_shape_;
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataRequest.element_shape)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::Shape*>(
|
|
&::xla::_Shape_default_instance_);
|
|
}
|
|
inline ::xla::Shape* LoadDataRequest::release_element_shape() {
|
|
// @@protoc_insertion_point(field_release:xla.LoadDataRequest.element_shape)
|
|
|
|
::xla::Shape* temp = element_shape_;
|
|
element_shape_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::Shape* LoadDataRequest::mutable_element_shape() {
|
|
|
|
if (element_shape_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::Shape>(GetArenaNoVirtual());
|
|
element_shape_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.LoadDataRequest.element_shape)
|
|
return element_shape_;
|
|
}
|
|
inline void LoadDataRequest::set_allocated_element_shape(::xla::Shape* element_shape) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(element_shape_);
|
|
}
|
|
if (element_shape) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(element_shape)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
element_shape = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, element_shape, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
element_shape_ = element_shape;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.LoadDataRequest.element_shape)
|
|
}
|
|
|
|
// int64 offset = 4;
|
|
inline void LoadDataRequest::clear_offset() {
|
|
offset_ = GOOGLE_LONGLONG(0);
|
|
}
|
|
inline ::google::protobuf::int64 LoadDataRequest::offset() const {
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataRequest.offset)
|
|
return offset_;
|
|
}
|
|
inline void LoadDataRequest::set_offset(::google::protobuf::int64 value) {
|
|
|
|
offset_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.LoadDataRequest.offset)
|
|
}
|
|
|
|
// int64 limit = 5;
|
|
inline void LoadDataRequest::clear_limit() {
|
|
limit_ = GOOGLE_LONGLONG(0);
|
|
}
|
|
inline ::google::protobuf::int64 LoadDataRequest::limit() const {
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataRequest.limit)
|
|
return limit_;
|
|
}
|
|
inline void LoadDataRequest::set_limit(::google::protobuf::int64 value) {
|
|
|
|
limit_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.LoadDataRequest.limit)
|
|
}
|
|
|
|
// bool zip = 6;
|
|
inline void LoadDataRequest::clear_zip() {
|
|
zip_ = false;
|
|
}
|
|
inline bool LoadDataRequest::zip() const {
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataRequest.zip)
|
|
return zip_;
|
|
}
|
|
inline void LoadDataRequest::set_zip(bool value) {
|
|
|
|
zip_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.LoadDataRequest.zip)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// LoadDataResponse
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
inline bool LoadDataResponse::has_data() const {
|
|
return this != internal_default_instance() && data_ != NULL;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& LoadDataResponse::_internal_data() const {
|
|
return *data_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& LoadDataResponse::data() const {
|
|
const ::xla::GlobalDataHandle* p = data_;
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataResponse.data)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::GlobalDataHandle*>(
|
|
&::xla::_GlobalDataHandle_default_instance_);
|
|
}
|
|
inline ::xla::GlobalDataHandle* LoadDataResponse::release_data() {
|
|
// @@protoc_insertion_point(field_release:xla.LoadDataResponse.data)
|
|
|
|
::xla::GlobalDataHandle* temp = data_;
|
|
data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::GlobalDataHandle* LoadDataResponse::mutable_data() {
|
|
|
|
if (data_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::GlobalDataHandle>(GetArenaNoVirtual());
|
|
data_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.LoadDataResponse.data)
|
|
return data_;
|
|
}
|
|
inline void LoadDataResponse::set_allocated_data(::xla::GlobalDataHandle* data) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(data_);
|
|
}
|
|
if (data) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(data)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
data = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, data, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
data_ = data;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.LoadDataResponse.data)
|
|
}
|
|
|
|
// .xla.Shape data_shape = 2;
|
|
inline bool LoadDataResponse::has_data_shape() const {
|
|
return this != internal_default_instance() && data_shape_ != NULL;
|
|
}
|
|
inline const ::xla::Shape& LoadDataResponse::_internal_data_shape() const {
|
|
return *data_shape_;
|
|
}
|
|
inline const ::xla::Shape& LoadDataResponse::data_shape() const {
|
|
const ::xla::Shape* p = data_shape_;
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataResponse.data_shape)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::Shape*>(
|
|
&::xla::_Shape_default_instance_);
|
|
}
|
|
inline ::xla::Shape* LoadDataResponse::release_data_shape() {
|
|
// @@protoc_insertion_point(field_release:xla.LoadDataResponse.data_shape)
|
|
|
|
::xla::Shape* temp = data_shape_;
|
|
data_shape_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::Shape* LoadDataResponse::mutable_data_shape() {
|
|
|
|
if (data_shape_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::Shape>(GetArenaNoVirtual());
|
|
data_shape_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.LoadDataResponse.data_shape)
|
|
return data_shape_;
|
|
}
|
|
inline void LoadDataResponse::set_allocated_data_shape(::xla::Shape* data_shape) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(data_shape_);
|
|
}
|
|
if (data_shape) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(data_shape)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
data_shape = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, data_shape, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
data_shape_ = data_shape;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.LoadDataResponse.data_shape)
|
|
}
|
|
|
|
// int64 available_rows = 3;
|
|
inline void LoadDataResponse::clear_available_rows() {
|
|
available_rows_ = GOOGLE_LONGLONG(0);
|
|
}
|
|
inline ::google::protobuf::int64 LoadDataResponse::available_rows() const {
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataResponse.available_rows)
|
|
return available_rows_;
|
|
}
|
|
inline void LoadDataResponse::set_available_rows(::google::protobuf::int64 value) {
|
|
|
|
available_rows_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.LoadDataResponse.available_rows)
|
|
}
|
|
|
|
// int64 rows_loaded = 4;
|
|
inline void LoadDataResponse::clear_rows_loaded() {
|
|
rows_loaded_ = GOOGLE_LONGLONG(0);
|
|
}
|
|
inline ::google::protobuf::int64 LoadDataResponse::rows_loaded() const {
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataResponse.rows_loaded)
|
|
return rows_loaded_;
|
|
}
|
|
inline void LoadDataResponse::set_rows_loaded(::google::protobuf::int64 value) {
|
|
|
|
rows_loaded_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.LoadDataResponse.rows_loaded)
|
|
}
|
|
|
|
// int64 nanoseconds = 5;
|
|
inline void LoadDataResponse::clear_nanoseconds() {
|
|
nanoseconds_ = GOOGLE_LONGLONG(0);
|
|
}
|
|
inline ::google::protobuf::int64 LoadDataResponse::nanoseconds() const {
|
|
// @@protoc_insertion_point(field_get:xla.LoadDataResponse.nanoseconds)
|
|
return nanoseconds_;
|
|
}
|
|
inline void LoadDataResponse::set_nanoseconds(::google::protobuf::int64 value) {
|
|
|
|
nanoseconds_ = value;
|
|
// @@protoc_insertion_point(field_set:xla.LoadDataResponse.nanoseconds)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetShapeRequest
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
inline bool GetShapeRequest::has_data() const {
|
|
return this != internal_default_instance() && data_ != NULL;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& GetShapeRequest::_internal_data() const {
|
|
return *data_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& GetShapeRequest::data() const {
|
|
const ::xla::GlobalDataHandle* p = data_;
|
|
// @@protoc_insertion_point(field_get:xla.GetShapeRequest.data)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::GlobalDataHandle*>(
|
|
&::xla::_GlobalDataHandle_default_instance_);
|
|
}
|
|
inline ::xla::GlobalDataHandle* GetShapeRequest::release_data() {
|
|
// @@protoc_insertion_point(field_release:xla.GetShapeRequest.data)
|
|
|
|
::xla::GlobalDataHandle* temp = data_;
|
|
data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::GlobalDataHandle* GetShapeRequest::mutable_data() {
|
|
|
|
if (data_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::GlobalDataHandle>(GetArenaNoVirtual());
|
|
data_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.GetShapeRequest.data)
|
|
return data_;
|
|
}
|
|
inline void GetShapeRequest::set_allocated_data(::xla::GlobalDataHandle* data) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(data_);
|
|
}
|
|
if (data) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(data)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
data = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, data, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
data_ = data;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.GetShapeRequest.data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// GetShapeResponse
|
|
|
|
// .xla.Shape shape = 1;
|
|
inline bool GetShapeResponse::has_shape() const {
|
|
return this != internal_default_instance() && shape_ != NULL;
|
|
}
|
|
inline const ::xla::Shape& GetShapeResponse::_internal_shape() const {
|
|
return *shape_;
|
|
}
|
|
inline const ::xla::Shape& GetShapeResponse::shape() const {
|
|
const ::xla::Shape* p = shape_;
|
|
// @@protoc_insertion_point(field_get:xla.GetShapeResponse.shape)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::Shape*>(
|
|
&::xla::_Shape_default_instance_);
|
|
}
|
|
inline ::xla::Shape* GetShapeResponse::release_shape() {
|
|
// @@protoc_insertion_point(field_release:xla.GetShapeResponse.shape)
|
|
|
|
::xla::Shape* temp = shape_;
|
|
shape_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::Shape* GetShapeResponse::mutable_shape() {
|
|
|
|
if (shape_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::Shape>(GetArenaNoVirtual());
|
|
shape_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.GetShapeResponse.shape)
|
|
return shape_;
|
|
}
|
|
inline void GetShapeResponse::set_allocated_shape(::xla::Shape* shape) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(shape_);
|
|
}
|
|
if (shape) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(shape)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
shape = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, shape, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
shape_ = shape;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.GetShapeResponse.shape)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// UnpackRequest
|
|
|
|
// .xla.GlobalDataHandle data = 1;
|
|
inline bool UnpackRequest::has_data() const {
|
|
return this != internal_default_instance() && data_ != NULL;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& UnpackRequest::_internal_data() const {
|
|
return *data_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& UnpackRequest::data() const {
|
|
const ::xla::GlobalDataHandle* p = data_;
|
|
// @@protoc_insertion_point(field_get:xla.UnpackRequest.data)
|
|
return p != NULL ? *p : *reinterpret_cast<const ::xla::GlobalDataHandle*>(
|
|
&::xla::_GlobalDataHandle_default_instance_);
|
|
}
|
|
inline ::xla::GlobalDataHandle* UnpackRequest::release_data() {
|
|
// @@protoc_insertion_point(field_release:xla.UnpackRequest.data)
|
|
|
|
::xla::GlobalDataHandle* temp = data_;
|
|
data_ = NULL;
|
|
return temp;
|
|
}
|
|
inline ::xla::GlobalDataHandle* UnpackRequest::mutable_data() {
|
|
|
|
if (data_ == NULL) {
|
|
auto* p = CreateMaybeMessage<::xla::GlobalDataHandle>(GetArenaNoVirtual());
|
|
data_ = p;
|
|
}
|
|
// @@protoc_insertion_point(field_mutable:xla.UnpackRequest.data)
|
|
return data_;
|
|
}
|
|
inline void UnpackRequest::set_allocated_data(::xla::GlobalDataHandle* data) {
|
|
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
|
|
if (message_arena == NULL) {
|
|
delete reinterpret_cast< ::google::protobuf::MessageLite*>(data_);
|
|
}
|
|
if (data) {
|
|
::google::protobuf::Arena* submessage_arena =
|
|
reinterpret_cast<::google::protobuf::MessageLite*>(data)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
data = ::google::protobuf::internal::GetOwnedMessage(
|
|
message_arena, data, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
data_ = data;
|
|
// @@protoc_insertion_point(field_set_allocated:xla.UnpackRequest.data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// UnpackResponse
|
|
|
|
// repeated .xla.GlobalDataHandle tied_data = 1;
|
|
inline int UnpackResponse::tied_data_size() const {
|
|
return tied_data_.size();
|
|
}
|
|
inline ::xla::GlobalDataHandle* UnpackResponse::mutable_tied_data(int index) {
|
|
// @@protoc_insertion_point(field_mutable:xla.UnpackResponse.tied_data)
|
|
return tied_data_.Mutable(index);
|
|
}
|
|
inline ::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >*
|
|
UnpackResponse::mutable_tied_data() {
|
|
// @@protoc_insertion_point(field_mutable_list:xla.UnpackResponse.tied_data)
|
|
return &tied_data_;
|
|
}
|
|
inline const ::xla::GlobalDataHandle& UnpackResponse::tied_data(int index) const {
|
|
// @@protoc_insertion_point(field_get:xla.UnpackResponse.tied_data)
|
|
return tied_data_.Get(index);
|
|
}
|
|
inline ::xla::GlobalDataHandle* UnpackResponse::add_tied_data() {
|
|
// @@protoc_insertion_point(field_add:xla.UnpackResponse.tied_data)
|
|
return tied_data_.Add();
|
|
}
|
|
inline const ::google::protobuf::RepeatedPtrField< ::xla::GlobalDataHandle >&
|
|
UnpackResponse::tied_data() const {
|
|
// @@protoc_insertion_point(field_list:xla.UnpackResponse.tied_data)
|
|
return tied_data_;
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
} // namespace xla
|
|
|
|
namespace google {
|
|
namespace protobuf {
|
|
|
|
template <> struct is_proto_enum< ::xla::HloReducePrecisionOptions_Location> : ::std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* GetEnumDescriptor< ::xla::HloReducePrecisionOptions_Location>() {
|
|
return ::xla::HloReducePrecisionOptions_Location_descriptor();
|
|
}
|
|
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#endif // PROTOBUF_INCLUDED_tensorflow_2fcompiler_2fxla_2fxla_2eproto
|