-
GPU
+ {{/* 0.6 renamed data `gpus` to `accelerators` (adding icons and a CPU
+ entry); release branches already cut still ship `gpus`, so read
+ whichever key the mounted content provides. */}}
+
{{ if $d.accelerators }}Accelerator{{ else }}GPU{{ end }}
- {{ range $d.gpus }}
- {{ .name }} {{ .mem }}
+ {{ range $d.accelerators | default $d.gpus }}
+ {{ if .icon }}{{ partial "brand-tile" (dict "entry" . "class" "mp-brand-tile--xs") }}{{ end }}{{ .name }}{{ with .mem }} {{ . }}{{ end }}
{{ end }}
{{ with $p.Params.gpunote }}{{ . }}{{ end }}