#[non_exhaustive]pub enum IntelArch {
XeLp,
XeHpg,
XeHpc,
XeLpg,
Xe2,
}Expand description
Intel GPU architecture family, e.g. IntelArch::XeHpg for an Arc A-series
card.
Coarser than its AMD and NVIDIA counterparts by necessity. Neither i915
nor xe publishes an architecture anywhere readable, so this is derived
from the PCI device id, which identifies the family reliably but not the
exact product. The ocloc -device value for an ahead-of-time build (dg2,
acm-g10, …) is more specific than this; treat it as “which generation is
this” rather than a literal compiler argument.
Deliberately not ordered: “newer” across integrated and discrete lines is not a total order worth implying.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
XeLp
Xe-LP — Tiger Lake, Rocket Lake, Alder Lake, Raptor Lake, DG1.
XeHpg
Xe-HPG — DG2, sold as Arc A-series (Alchemist).
XeHpc
Xe-HPC — Ponte Vecchio, sold as Data Center GPU Max.
XeLpg
Xe-LPG — Meteor Lake and Arrow Lake integrated graphics.
Xe2
Xe2 — Lunar Lake integrated graphics, and Arc B-series (Battlemage).