add default type to gpu assign type

This commit is contained in:
wenjlu-lgy 2024-03-27 11:07:48 +08:00
Родитель 6531cbba79
Коммит b4d0b1956c
2 изменённых файлов: 38 добавлений и 34 удалений

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

@ -345,21 +345,24 @@ func (WinRMProtocolType) EnumDescriptor() ([]byte, []int) {
type GpuAssignmentType int32
const (
GpuAssignmentType_GpuDDA GpuAssignmentType = 0
GpuAssignmentType_GpuP GpuAssignmentType = 1
GpuAssignmentType_GpuPV GpuAssignmentType = 2
GpuAssignmentType_GpuDDA GpuAssignmentType = 0
GpuAssignmentType_GpuP GpuAssignmentType = 1
GpuAssignmentType_GpuPV GpuAssignmentType = 2
GpuAssignmentType_GpuDefault GpuAssignmentType = 4
)
var GpuAssignmentType_name = map[int32]string{
0: "GpuDDA",
1: "GpuP",
2: "GpuPV",
4: "GpuDefault",
}
var GpuAssignmentType_value = map[string]int32{
"GpuDDA": 0,
"GpuP": 1,
"GpuPV": 2,
"GpuDDA": 0,
"GpuP": 1,
"GpuPV": 2,
"GpuDefault": 4,
}
func (x GpuAssignmentType) String() string {
@ -1295,7 +1298,7 @@ func init() {
func init() { proto.RegisterFile("moc_common_computecommon.proto", fileDescriptor_7d1a061f6c82445b) }
var fileDescriptor_7d1a061f6c82445b = []byte{
// 1800 bytes of a gzipped FileDescriptorProto
// 1808 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x97, 0x4f, 0x73, 0xe2, 0xc8,
0x15, 0xc0, 0x87, 0x7f, 0xb6, 0x79, 0xfe, 0xd7, 0xee, 0x99, 0xb1, 0x59, 0x67, 0x76, 0xd6, 0x61,
0x67, 0x67, 0x1d, 0x76, 0x17, 0xf3, 0x6f, 0x29, 0x6a, 0xab, 0x52, 0x15, 0x0c, 0x32, 0xc3, 0xda,
@ -1382,31 +1385,31 @@ var fileDescriptor_7d1a061f6c82445b = []byte{
0x47, 0xbf, 0x15, 0xa3, 0x1d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f, 0x54, 0x75, 0xab,
0xf0, 0x01, 0xb6, 0x74, 0x62, 0xfa, 0xae, 0xc5, 0xef, 0xe4, 0xd0, 0xec, 0xc1, 0xb6, 0xda, 0x1f,
0xb6, 0xfa, 0xea, 0x59, 0xb7, 0x33, 0xd2, 0x94, 0x36, 0x7a, 0x21, 0xd0, 0x50, 0x1b, 0xe9, 0x43,
0xa5, 0x7d, 0xd1, 0x1c, 0xa9, 0xad, 0x0f, 0x28, 0x21, 0x0e, 0x42, 0xa9, 0xd2, 0x56, 0xd4, 0x61,
0xb7, 0x79, 0x31, 0xee, 0xa1, 0xe4, 0x77, 0xe7, 0x80, 0x3c, 0x42, 0x3d, 0x8b, 0x5b, 0x37, 0x24,
0xfc, 0xc6, 0xc5, 0x9f, 0x16, 0x83, 0x6f, 0xda, 0xe2, 0xf2, 0x9b, 0xb6, 0x78, 0x66, 0x91, 0xc5,
0xb4, 0xef, 0x88, 0x42, 0x78, 0xb9, 0x7f, 0xff, 0x29, 0x25, 0x6f, 0x4c, 0x8f, 0x0c, 0xbf, 0x53,
0x60, 0x7b, 0xc5, 0x7e, 0xe7, 0x31, 0xfa, 0x53, 0x9e, 0xfe, 0x13, 0x7a, 0x8a, 0x5a, 0x9d, 0x7e,
0xf1, 0x9b, 0xcf, 0xe7, 0x16, 0xbf, 0xf6, 0xaf, 0x8a, 0x26, 0xb3, 0x4f, 0x6c, 0xcb, 0x74, 0x99,
0xc7, 0x66, 0xfc, 0xc4, 0x66, 0xe6, 0x89, 0xeb, 0x98, 0x27, 0xc1, 0x47, 0xf8, 0xd5, 0x9a, 0x74,
0x5a, 0xfd, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcb, 0xed, 0x6b, 0x2b, 0xa7, 0x0f, 0x00, 0x00,
}

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

@ -106,6 +106,7 @@ enum GpuAssignmentType {
GpuDDA = 0;
GpuP = 1;
GpuPV = 2;
GpuDefault = 4; // default is used when customer do not pass GPU Assign Type and moc will decide the assign type based on the underlying configuration.
}
message Gpu {