Compare commits
1 Commits
v1.4
...
feature/ve
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8663a87d28 |
@@ -195,6 +195,9 @@ func buildGPUSegment(items []models.ConfigItem, cats map[string]string) string {
|
|||||||
if !ok || group != GroupGPU {
|
if !ok || group != GroupGPU {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if strings.HasPrefix(strings.ToUpper(it.LotName), "MB_") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
model := parseGPUModel(it.LotName)
|
model := parseGPUModel(it.LotName)
|
||||||
if model == "" {
|
if model == "" {
|
||||||
model = "UNK"
|
model = "UNK"
|
||||||
@@ -332,7 +335,7 @@ func parseGPUModel(lotName string) string {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
switch p {
|
switch p {
|
||||||
case "NV", "NVIDIA", "AMD", "RADEON", "PCIE", "PCI", "SXM", "SXMX":
|
case "NV", "NVIDIA", "INTEL", "AMD", "RADEON", "PCIE", "PCI", "SXM", "SXMX":
|
||||||
continue
|
continue
|
||||||
default:
|
default:
|
||||||
if strings.Contains(p, "GB") {
|
if strings.Contains(p, "GB") {
|
||||||
|
|||||||
Reference in New Issue
Block a user