Merge branch 'usr/wenjlu/aksgpu' of ssh://github.com/microsoft/moc into usr/wenjlu/aksgpu

This commit is contained in:
Dhaval Popat 2024-04-24 10:29:56 -07:00
Родитель 3fd2b25b47 048f2d72ca
Коммит c4f507a5e6
2 изменённых файлов: 78 добавлений и 59 удалений

Просмотреть файл

@ -229,9 +229,10 @@ func (m *PhysicalMemory) GetSizeBytes() uint64 {
type HostGPU struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
SizeBytes uint32 `protobuf:"varint,2,opt,name=sizeBytes,proto3" json:"sizeBytes,omitempty"`
PartitionSizeBytes uint64 `protobuf:"varint,3,opt,name=partitionSizeBytes,proto3" json:"partitionSizeBytes,omitempty"`
Assignment GpuAssignmentType `protobuf:"varint,4,opt,name=assignment,proto3,enum=moc.GpuAssignmentType" json:"assignment,omitempty"`
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
PartitionSizeBytes uint64 `protobuf:"varint,4,opt,name=partitionSizeBytes,proto3" json:"partitionSizeBytes,omitempty"`
Assignment GpuAssignmentType `protobuf:"varint,5,opt,name=assignment,proto3,enum=moc.GpuAssignmentType" json:"assignment,omitempty"`
Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -276,6 +277,13 @@ func (m *HostGPU) GetSizeBytes() uint32 {
return 0
}
func (m *HostGPU) GetCount() uint32 {
if m != nil {
return m.Count
}
return 0
}
func (m *HostGPU) GetPartitionSizeBytes() uint64 {
if m != nil {
return m.PartitionSizeBytes
@ -458,8 +466,9 @@ func (m *NodeInfo) GetOsInfo() *OperatingSystem {
type Resources struct {
Processor *Processor `protobuf:"bytes,1,opt,name=processor,proto3" json:"processor,omitempty"`
Memory *PhysicalMemory `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
GpuList []*HostGPU `protobuf:"bytes,3,rep,name=gpuList,proto3" json:"gpuList,omitempty"`
Gpu *HostGPU `protobuf:"bytes,3,opt,name=gpu,proto3" json:"gpu,omitempty"`
VmCapabilities *VirtualMachineCapabilities `protobuf:"bytes,5,opt,name=vmCapabilities,proto3" json:"vmCapabilities,omitempty"`
GpuList []*HostGPU `protobuf:"bytes,6,rep,name=gpuList,proto3" json:"gpuList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -504,9 +513,9 @@ func (m *Resources) GetMemory() *PhysicalMemory {
return nil
}
func (m *Resources) GetGpuList() []*HostGPU {
func (m *Resources) GetGpu() *HostGPU {
if m != nil {
return m.GpuList
return m.Gpu
}
return nil
}
@ -518,6 +527,13 @@ func (m *Resources) GetVmCapabilities() *VirtualMachineCapabilities {
return nil
}
func (m *Resources) GetGpuList() []*HostGPU {
if m != nil {
return m.GpuList
}
return nil
}
func init() {
proto.RegisterEnum("moc.common.OsRegistrationState", OsRegistrationState_name, OsRegistrationState_value)
proto.RegisterType((*OsRegistrationStatus)(nil), "moc.common.OsRegistrationStatus")
@ -532,53 +548,54 @@ func init() {
func init() { proto.RegisterFile("moc_common_nodeinfo.proto", fileDescriptor_7c83f03f7e6831a3) }
var fileDescriptor_7c83f03f7e6831a3 = []byte{
// 753 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x6e, 0xd3, 0x4a,
0x10, 0x3e, 0x4e, 0xd2, 0xfc, 0x4c, 0xda, 0x9c, 0x76, 0xdb, 0xd3, 0xe3, 0xd3, 0x83, 0x20, 0x72,
0x45, 0x15, 0x21, 0x48, 0x50, 0xaa, 0xf2, 0x73, 0xd9, 0x72, 0x51, 0x40, 0x94, 0x56, 0xdb, 0xc2,
0x05, 0x37,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 0x00,
}

Просмотреть файл

@ -36,9 +36,10 @@ message PhysicalMemory {
message HostGPU {
string name = 1;
uint32 sizeBytes = 2;
uint64 partitionSizeBytes = 3;
GpuAssignmentType assignment = 4;
string id = 5;
uint32 count = 3;
uint64 partitionSizeBytes = 4;
GpuAssignmentType assignment = 5;
string id = 6;
}
message OperatingSystem {
@ -63,6 +64,7 @@ message Resources {
reserved 4;
Processor processor = 1;
PhysicalMemory memory = 2;
repeated HostGPU gpuList = 3;
HostGPU gpu = 3;
VirtualMachineCapabilities vmCapabilities = 5;
repeated HostGPU gpuList = 6;
}